home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / rextern.cpt / X-Archive 2.0 / cards.xml < prev    next >
Encoding:
Text File  |  1992-09-20  |  743.7 KB  |  17,435 lines

  1. card_46459.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>46459</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_48997.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>46925</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <false /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>8</left>
  25.             <top>40</top>
  26.             <right>172</right>
  27.             <bottom>265</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <true /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name>list</name>
  43.         <script>on mouseup
  44. go cd (value of the clickline)
  45. end mouseup
  46. </script>
  47.     </part>
  48.     <part>
  49.         <id>6</id>
  50.         <type>button</type>
  51.         <visible> <true /> </visible>
  52.         <reserved5> 0 </reserved5>
  53.         <reserved4> 0 </reserved4>
  54.         <reserved3> 0 </reserved3>
  55.         <reserved2> 0 </reserved2>
  56.         <reserved1> 0 </reserved1>
  57.         <enabled> <true /> </enabled>
  58.         <rect>
  59.             <left>260</left>
  60.             <top>271</top>
  61.             <right>315</right>
  62.             <bottom>321</bottom>
  63.         </rect>
  64.         <style>rectangle</style>
  65.         <showName> <true /> </showName>
  66.         <highlight> <false /> </highlight>
  67.         <autoHighlight> <true /> </autoHighlight>
  68.         <sharedHighlight> <true /> </sharedHighlight>
  69.         <family>0</family>
  70.         <titleWidth>0</titleWidth>
  71.         <icon>1</icon>
  72.         <textAlign>center</textAlign>
  73.         <font>Chicago</font>
  74.         <textSize>12</textSize>
  75.         <textStyle>plain</textStyle>
  76.         <name>Info</name>
  77.         <script>on mouseUp
  78. ls
  79. tghelp false
  80. tginfo (not vcf(5))
  81. end mouseUp</script>
  82.     </part>
  83.     <part>
  84.         <id>7</id>
  85.         <type>button</type>
  86.         <visible> <true /> </visible>
  87.         <reserved5> 0 </reserved5>
  88.         <reserved4> 0 </reserved4>
  89.         <reserved3> 0 </reserved3>
  90.         <reserved2> 0 </reserved2>
  91.         <reserved1> 0 </reserved1>
  92.         <enabled> <true /> </enabled>
  93.         <rect>
  94.             <left>197</left>
  95.             <top>271</top>
  96.             <right>252</right>
  97.             <bottom>321</bottom>
  98.         </rect>
  99.         <style>rectangle</style>
  100.         <showName> <true /> </showName>
  101.         <highlight> <false /> </highlight>
  102.         <autoHighlight> <true /> </autoHighlight>
  103.         <sharedHighlight> <true /> </sharedHighlight>
  104.         <family>0</family>
  105.         <titleWidth>0</titleWidth>
  106.         <icon>2507</icon>
  107.         <textAlign>center</textAlign>
  108.         <font>Chicago</font>
  109.         <textSize>12</textSize>
  110.         <textStyle>plain</textStyle>
  111.         <name>Help</name>
  112.         <script>on mouseUp
  113. ls
  114. get vcf(10)
  115. tginfo false
  116. tghelp not it
  117. uls
  118. if not it then flashindex
  119. end mouseUp
  120.  
  121. on flashIndex
  122. repeat 4
  123. wait 10
  124. svcf 10,(not vcf(10))
  125. end repeat
  126. repeat 6
  127. wait 10
  128. set hilite of btn id 15 to (not (hilite of btn id 15))
  129. end repeat
  130. end flashindex</script>
  131.     </part>
  132.     <part>
  133.         <id>5</id>
  134.         <type>field</type>
  135.         <visible> <false /> </visible>
  136.         <dontWrap> <false /> </dontWrap>
  137.         <dontSearch> <true /> </dontSearch>
  138.         <sharedText> <false /> </sharedText>
  139.         <fixedLineHeight> <true /> </fixedLineHeight>
  140.         <autoTab> <false /> </autoTab>
  141.         <lockText> <true /> </lockText>
  142.         <rect>
  143.             <left>69</left>
  144.             <top>68</top>
  145.             <right>436</right>
  146.             <bottom>254</bottom>
  147.         </rect>
  148.         <style>shadow</style>
  149.         <autoSelect> <false /> </autoSelect>
  150.         <showLines> <false /> </showLines>
  151.         <wideMargins> <true /> </wideMargins>
  152.         <multipleLines> <false /> </multipleLines>
  153.         <reservedFamily> 0 </reservedFamily>
  154.         <titleWidth>0</titleWidth>
  155.         <icon>0</icon>
  156.         <textAlign>left</textAlign>
  157.         <font>Geneva</font>
  158.         <textSize>9</textSize>
  159.         <textStyle>plain</textStyle>
  160.         <textHeight>12</textHeight>
  161.         <name>info</name>
  162.         <script>on mouseup
  163. tginfo false
  164. end mouseup</script>
  165.     </part>
  166.     <part>
  167.         <id>8</id>
  168.         <type>button</type>
  169.         <visible> <true /> </visible>
  170.         <reserved5> 0 </reserved5>
  171.         <reserved4> 0 </reserved4>
  172.         <reserved3> 0 </reserved3>
  173.         <reserved2> 0 </reserved2>
  174.         <reserved1> 0 </reserved1>
  175.         <enabled> <true /> </enabled>
  176.         <rect>
  177.             <left>236</left>
  178.             <top>77</top>
  179.             <right>263</right>
  180.             <bottom>113</bottom>
  181.         </rect>
  182.         <style>transparent</style>
  183.         <showName> <false /> </showName>
  184.         <highlight> <false /> </highlight>
  185.         <autoHighlight> <true /> </autoHighlight>
  186.         <sharedHighlight> <true /> </sharedHighlight>
  187.         <family>0</family>
  188.         <titleWidth>0</titleWidth>
  189.         <icon>257</icon>
  190.         <textAlign>center</textAlign>
  191.         <font>Chicago</font>
  192.         <textSize>12</textSize>
  193.         <textStyle>plain</textStyle>
  194.         <name>Fred</name>
  195.         <script>on mouseUp
  196. tginfo (not vcf(5))
  197. end mouseUp</script>
  198.     </part>
  199.     <part>
  200.         <id>9</id>
  201.         <type>button</type>
  202.         <visible> <false /> </visible>
  203.         <reserved5> 0 </reserved5>
  204.         <reserved4> 0 </reserved4>
  205.         <reserved3> 0 </reserved3>
  206.         <reserved2> 0 </reserved2>
  207.         <reserved1> 0 </reserved1>
  208.         <enabled> <true /> </enabled>
  209.         <rect>
  210.             <left>69</left>
  211.             <top>68</top>
  212.             <right>434</right>
  213.             <bottom>252</bottom>
  214.         </rect>
  215.         <style>transparent</style>
  216.         <showName> <false /> </showName>
  217.         <highlight> <false /> </highlight>
  218.         <autoHighlight> <true /> </autoHighlight>
  219.         <sharedHighlight> <true /> </sharedHighlight>
  220.         <family>0</family>
  221.         <titleWidth>0</titleWidth>
  222.         <icon>0</icon>
  223.         <textAlign>center</textAlign>
  224.         <font>Chicago</font>
  225.         <textSize>12</textSize>
  226.         <textStyle>plain</textStyle>
  227.         <name>dummy</name>
  228.         <script>on mouseUp
  229. tginfo false
  230. end mouseUp</script>
  231.     </part>
  232.     <part>
  233.         <id>10</id>
  234.         <type>field</type>
  235.         <visible> <false /> </visible>
  236.         <dontWrap> <false /> </dontWrap>
  237.         <dontSearch> <true /> </dontSearch>
  238.         <sharedText> <false /> </sharedText>
  239.         <fixedLineHeight> <false /> </fixedLineHeight>
  240.         <autoTab> <false /> </autoTab>
  241.         <lockText> <true /> </lockText>
  242.         <rect>
  243.             <left>270</left>
  244.             <top>15</top>
  245.             <right>447</right>
  246.             <bottom>100</bottom>
  247.         </rect>
  248.         <style>shadow</style>
  249.         <autoSelect> <false /> </autoSelect>
  250.         <showLines> <false /> </showLines>
  251.         <wideMargins> <true /> </wideMargins>
  252.         <multipleLines> <false /> </multipleLines>
  253.         <reservedFamily> 0 </reservedFamily>
  254.         <titleWidth>0</titleWidth>
  255.         <icon>0</icon>
  256.         <textAlign>left</textAlign>
  257.         <font>Geneva</font>
  258.         <textSize>12</textSize>
  259.         <textStyle>condense</textStyle>
  260.         <textStyle>bold</textStyle>
  261.         <textHeight>13</textHeight>
  262.         <name>help</name>
  263.         <script>on mouseup
  264. ls
  265. tghelp false
  266. end mouseup
  267. </script>
  268.     </part>
  269.     <part>
  270.         <id>11</id>
  271.         <type>button</type>
  272.         <visible> <false /> </visible>
  273.         <reserved5> 0 </reserved5>
  274.         <reserved4> 0 </reserved4>
  275.         <reserved3> 0 </reserved3>
  276.         <reserved2> 0 </reserved2>
  277.         <reserved1> 0 </reserved1>
  278.         <enabled> <true /> </enabled>
  279.         <rect>
  280.             <left>409</left>
  281.             <top>17</top>
  282.             <right>432</right>
  283.             <bottom>38</bottom>
  284.         </rect>
  285.         <style>transparent</style>
  286.         <showName> <false /> </showName>
  287.         <highlight> <false /> </highlight>
  288.         <autoHighlight> <false /> </autoHighlight>
  289.         <sharedHighlight> <true /> </sharedHighlight>
  290.         <family>0</family>
  291.         <titleWidth>0</titleWidth>
  292.         <icon>1013</icon>
  293.         <textAlign>center</textAlign>
  294.         <font>Chicago</font>
  295.         <textSize>12</textSize>
  296.         <textStyle>plain</textStyle>
  297.         <name>helpicon</name>
  298.         <script>on mouseup
  299. ls
  300. tghelp false
  301. end mouseup
  302. </script>
  303.     </part>
  304.     <part>
  305.         <id>14</id>
  306.         <type>field</type>
  307.         <visible> <true /> </visible>
  308.         <dontWrap> <false /> </dontWrap>
  309.         <dontSearch> <true /> </dontSearch>
  310.         <sharedText> <false /> </sharedText>
  311.         <fixedLineHeight> <false /> </fixedLineHeight>
  312.         <autoTab> <false /> </autoTab>
  313.         <lockText> <true /> </lockText>
  314.         <rect>
  315.             <left>33</left>
  316.             <top>16</top>
  317.             <right>81</right>
  318.             <bottom>34</bottom>
  319.         </rect>
  320.         <style>transparent</style>
  321.         <autoSelect> <false /> </autoSelect>
  322.         <showLines> <false /> </showLines>
  323.         <wideMargins> <false /> </wideMargins>
  324.         <multipleLines> <false /> </multipleLines>
  325.         <reservedFamily> 0 </reservedFamily>
  326.         <titleWidth>0</titleWidth>
  327.         <icon>0</icon>
  328.         <textAlign>center</textAlign>
  329.         <font>Geneva</font>
  330.         <textSize>12</textSize>
  331.         <textStyle>condense</textStyle>
  332.         <textStyle>bold</textStyle>
  333.         <textHeight>16</textHeight>
  334.         <name>version∩ú┐</name>
  335.         <script></script>
  336.     </part>
  337.     <part>
  338.         <id>13</id>
  339.         <type>button</type>
  340.         <visible> <true /> </visible>
  341.         <reserved5> 0 </reserved5>
  342.         <reserved4> 0 </reserved4>
  343.         <reserved3> 0 </reserved3>
  344.         <reserved2> 0 </reserved2>
  345.         <reserved1> 0 </reserved1>
  346.         <enabled> <true /> </enabled>
  347.         <rect>
  348.             <left>199</left>
  349.             <top>60</top>
  350.             <right>224</right>
  351.             <bottom>86</bottom>
  352.         </rect>
  353.         <style>transparent</style>
  354.         <showName> <false /> </showName>
  355.         <highlight> <false /> </highlight>
  356.         <autoHighlight> <true /> </autoHighlight>
  357.         <sharedHighlight> <true /> </sharedHighlight>
  358.         <family>0</family>
  359.         <titleWidth>0</titleWidth>
  360.         <icon>19678</icon>
  361.         <textAlign>center</textAlign>
  362.         <font>Chicago</font>
  363.         <textSize>12</textSize>
  364.         <textStyle>plain</textStyle>
  365.         <name>copyright</name>
  366.         <script>on mouseUp
  367. put "barn door close fast" into x
  368. ls
  369. cLr1
  370. uls x
  371. answer line 1 to 10 of script of stack
  372. ls
  373. tgpix true
  374. uls x
  375. end mouseUp</script>
  376.     </part>
  377.     <part>
  378.         <id>15</id>
  379.         <type>button</type>
  380.         <visible> <true /> </visible>
  381.         <reserved5> 0 </reserved5>
  382.         <reserved4> 0 </reserved4>
  383.         <reserved3> 0 </reserved3>
  384.         <reserved2> 0 </reserved2>
  385.         <reserved1> 0 </reserved1>
  386.         <enabled> <true /> </enabled>
  387.         <rect>
  388.             <left>451</left>
  389.             <top>5</top>
  390.             <right>506</right>
  391.             <bottom>55</bottom>
  392.         </rect>
  393.         <style>opaque</style>
  394.         <showName> <true /> </showName>
  395.         <highlight> <false /> </highlight>
  396.         <autoHighlight> <true /> </autoHighlight>
  397.         <sharedHighlight> <true /> </sharedHighlight>
  398.         <family>0</family>
  399.         <titleWidth>0</titleWidth>
  400.         <icon>27056</icon>
  401.         <textAlign>center</textAlign>
  402.         <font>Chicago</font>
  403.         <textSize>12</textSize>
  404.         <textStyle>plain</textStyle>
  405.         <name>X-Index</name>
  406.         <script>on mouseUp
  407. ls
  408. cLr1
  409. uls "barn door close very fast"
  410. get tCd(1)
  411. ls
  412. tgpix true
  413. if ((it=1) or (it="")) then exit to hypercard
  414. go cd it
  415. uls "wipe left very fast"
  416. end mouseUp
  417.  
  418. </script>
  419.     </part>
  420.     <content>
  421.         <layer>card</layer>
  422.         <id>1</id>
  423.         <text>*Title*
  424. Align 2.6
  425. ATalkZones 1.1
  426. Calendoid 1.3
  427. CapsLock 1.0
  428. ChooseColor 1.1
  429. Chooser 1.3
  430. ClipInfo 1.0
  431. CopyFolder 1.9
  432. CopyRes 1.8*
  433. CreateFolder 1.2
  434. CreateStack 1.1
  435. DateConverter 1.0
  436. DocCreator 1.2
  437. DocTypes 1.5
  438. DoMenu 1.0
  439. EraseFile 1.1
  440. ExtractItems 1.4
  441. FileCopy 2.0
  442. FileIsOpen 1.1
  443. FileMaker 1.1
  444. FindFolder 1.0
  445. FolderSize 1.1
  446. FontMaster 1.2
  447. FormatNum 1.0
  448. FullBalloons 1.0
  449. FullDrag 1.3
  450. FullFind 1.4
  451. FullHPop 1.3
  452. FullMove 1.1
  453. FullOffset 1.0
  454. FullRemove 1.0
  455. FullRename 1.4
  456. FullReplace 1.1
  457. FullResList 2.0
  458. FullSFPack 1.4
  459. FullSFPut 1.3
  460. FullSort 3.2
  461. FullSort -2
  462. FullSort -3
  463. FullText 1.0
  464. GetBootVol 1.1
  465. GetDir 1.8
  466. GetFInfo 1.1
  467. GetIcon 1.0
  468. GetMode 1.3
  469. GetPassword 1.3
  470. GetSysFolder 1.0
  471. GetVInfo 1.0
  472. GlobalList 1.1
  473. GlobalMaster 1.0
  474. HowMany 1.1
  475. ICNToICON 1.6
  476. Infoid 1.1
  477. IsFile 1.0
  478. IsFinderLocked 1.1
  479. IsFolder 1.0
  480. IsObject 1.0
  481. KillRes 1.2
  482. LineCount 1.7
  483. ListLogic 1.4
  484. Listoid 2.8
  485. ListSelect 4.1
  486. MacType 1.3
  487. Menu 2.1
  488. Menu 2.1-2
  489. Mousoid 1.1
  490. NameNewFile 1.0
  491. Notification 1.0
  492. NubusList 1.0
  493. PPCList 1.0
  494. PrintPICT 1.3
  495. Privileges 1.2
  496. Prompt 2.5
  497. Promptoid 1.2
  498. RemoveFolder 1.1
  499. ReplaceCharSet 1.0
  500. ResolveAlias 1.1
  501. ResText 1.1
  502. ScrapXCMDs 1.9
  503. SelectDir 1.1
  504. SelectFile 1.0
  505. SendPS 1.3
  506. SetFileFlag 1.1
  507. SetFinderLock 1.1
  508. SetMode 1.2
  509. ShowHideFolder 1.1
  510. SoundRecord 1.4
  511. StripDup 1.1
  512. StrWidth 1.
  513. Switch 1.3
  514. Tabloid 1.1
  515. Textoid 3.6
  516. TextRes 1.3
  517. WindName 1.1
  518. XRef 1.3
  519.  
  520.  
  521. </text>
  522.     </content>
  523.     <content>
  524.         <layer>card</layer>
  525.         <id>5</id>
  526.         <text><span class="style1"></span><span class="style3">        X-Archive</span><span class="style1"> is a collection            of over 90 XCMDs and XFCNS,
  527.            with associated  resources,           written by Frederic Rinaldi.
  528.  
  529.                  This stack was compiled from the individual files by:
  530.  
  531.                           Ken Fisher
  532.                           Dept. of Speech Comm. & Theatre
  533.                           State University of New York at Oneonta
  534.                           Oneonta, NY 13820
  535.  
  536.                           </span><span class="style3">BITNET</span><span class="style1">:  FISHERKJ@SNYONEVA
  537.                                   </span><span class="style3">AO</span><span class="style1">:  KENF7
  538. </span></text>
  539.     </content>
  540.     <content>
  541.         <layer>card</layer>
  542.         <id>10</id>
  543.         <text><span class="style1">lick on this button
  544. for a list of X-resources.
  545. </span><span class="style13">
  546. </span><span class="style1">To return to this card,
  547. hold the option key down.
  548. </span></text>
  549.     </content>
  550.     <content>
  551.         <layer>card</layer>
  552.         <id>14</id>
  553.         <text>v. 2.0</text>
  554.     </content>
  555.     <name>*Title*</name>
  556.     <script></script>
  557. </card>
  558.  
  559.  
  560. card_4021.xml
  561. <?xml version="1.0" encoding="utf-8" ?>
  562. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  563. <card>
  564.     <id>4021</id>
  565.     <filler1>0</filler1>
  566.     <bitmap>BMAP_12560.pbm</bitmap>
  567.     <cantDelete> <false /> </cantDelete>
  568.     <showPict> <true /> </showPict>
  569.     <dontSearch> <false /> </dontSearch>
  570.     <owner>46925</owner>
  571.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  572.     <part>
  573.         <id>1</id>
  574.         <type>field</type>
  575.         <visible> <true /> </visible>
  576.         <dontWrap> <false /> </dontWrap>
  577.         <dontSearch> <false /> </dontSearch>
  578.         <sharedText> <false /> </sharedText>
  579.         <fixedLineHeight> <true /> </fixedLineHeight>
  580.         <autoTab> <false /> </autoTab>
  581.         <lockText> <true /> </lockText>
  582.         <rect>
  583.             <left>69</left>
  584.             <top>68</top>
  585.             <right>434</right>
  586.             <bottom>252</bottom>
  587.         </rect>
  588.         <style>scrolling</style>
  589.         <autoSelect> <false /> </autoSelect>
  590.         <showLines> <false /> </showLines>
  591.         <wideMargins> <false /> </wideMargins>
  592.         <multipleLines> <false /> </multipleLines>
  593.         <reservedFamily> 0 </reservedFamily>
  594.         <titleWidth>0</titleWidth>
  595.         <icon>0</icon>
  596.         <textAlign>left</textAlign>
  597.         <font>Geneva</font>
  598.         <textSize>9</textSize>
  599.         <textStyle>plain</textStyle>
  600.         <textHeight>12</textHeight>
  601.         <name></name>
  602.         <script></script>
  603.     </part>
  604.     <part>
  605.         <id>5</id>
  606.         <type>button</type>
  607.         <visible> <true /> </visible>
  608.         <reserved5> 0 </reserved5>
  609.         <reserved4> 0 </reserved4>
  610.         <reserved3> 0 </reserved3>
  611.         <reserved2> 0 </reserved2>
  612.         <reserved1> 0 </reserved1>
  613.         <enabled> <true /> </enabled>
  614.         <rect>
  615.             <left>174</left>
  616.             <top>281</top>
  617.             <right>343</right>
  618.             <bottom>311</bottom>
  619.         </rect>
  620.         <style>roundrect</style>
  621.         <showName> <true /> </showName>
  622.         <highlight> <false /> </highlight>
  623.         <autoHighlight> <true /> </autoHighlight>
  624.         <sharedHighlight> <true /> </sharedHighlight>
  625.         <family>0</family>
  626.         <titleWidth>0</titleWidth>
  627.         <icon>0</icon>
  628.         <textAlign>center</textAlign>
  629.         <font>Geneva</font>
  630.         <textSize>12</textSize>
  631.         <textStyle>plain</textStyle>
  632.         <name>Align</name>
  633.         <script>on mouseUp
  634. if not visible of btn 2
  635. then
  636. ls
  637. show btn 2
  638. show cd fld 2
  639. show cd fld 3
  640. show cd fld 4
  641. show cd fld 5
  642. else do cd fld 5
  643. end mouseUp
  644. </script>
  645.     </part>
  646.     <part>
  647.         <id>8</id>
  648.         <type>field</type>
  649.         <visible> <false /> </visible>
  650.         <dontWrap> <false /> </dontWrap>
  651.         <dontSearch> <false /> </dontSearch>
  652.         <sharedText> <false /> </sharedText>
  653.         <fixedLineHeight> <true /> </fixedLineHeight>
  654.         <autoTab> <false /> </autoTab>
  655.         <lockText> <true /> </lockText>
  656.         <rect>
  657.             <left>9</left>
  658.             <top>17</top>
  659.             <right>506</right>
  660.             <bottom>271</bottom>
  661.         </rect>
  662.         <style>shadow</style>
  663.         <autoSelect> <false /> </autoSelect>
  664.         <showLines> <false /> </showLines>
  665.         <wideMargins> <false /> </wideMargins>
  666.         <multipleLines> <false /> </multipleLines>
  667.         <reservedFamily> 0 </reservedFamily>
  668.         <titleWidth>0</titleWidth>
  669.         <icon>0</icon>
  670.         <textAlign>left</textAlign>
  671.         <font>Geneva</font>
  672.         <textSize>12</textSize>
  673.         <textStyle>bold</textStyle>
  674.         <textHeight>16</textHeight>
  675.         <name></name>
  676.         <script></script>
  677.     </part>
  678.     <part>
  679.         <id>9</id>
  680.         <type>field</type>
  681.         <visible> <false /> </visible>
  682.         <dontWrap> <false /> </dontWrap>
  683.         <dontSearch> <false /> </dontSearch>
  684.         <sharedText> <false /> </sharedText>
  685.         <fixedLineHeight> <true /> </fixedLineHeight>
  686.         <autoTab> <false /> </autoTab>
  687.         <lockText> <true /> </lockText>
  688.         <rect>
  689.             <left>30</left>
  690.             <top>28</top>
  691.             <right>488</right>
  692.             <bottom>116</bottom>
  693.         </rect>
  694.         <style>rectangle</style>
  695.         <autoSelect> <false /> </autoSelect>
  696.         <showLines> <false /> </showLines>
  697.         <wideMargins> <false /> </wideMargins>
  698.         <multipleLines> <false /> </multipleLines>
  699.         <reservedFamily> 0 </reservedFamily>
  700.         <titleWidth>0</titleWidth>
  701.         <icon>0</icon>
  702.         <textAlign>left</textAlign>
  703.         <font>Geneva</font>
  704.         <textSize>9</textSize>
  705.         <textStyle>plain</textStyle>
  706.         <textHeight>12</textHeight>
  707.         <name></name>
  708.         <script></script>
  709.     </part>
  710.     <part>
  711.         <id>11</id>
  712.         <type>button</type>
  713.         <visible> <false /> </visible>
  714.         <reserved5> 0 </reserved5>
  715.         <reserved4> 0 </reserved4>
  716.         <reserved3> 0 </reserved3>
  717.         <reserved2> 0 </reserved2>
  718.         <reserved1> 0 </reserved1>
  719.         <enabled> <true /> </enabled>
  720.         <rect>
  721.             <left>14</left>
  722.             <top>22</top>
  723.             <right>27</right>
  724.             <bottom>35</bottom>
  725.         </rect>
  726.         <style>rectangle</style>
  727.         <showName> <true /> </showName>
  728.         <highlight> <false /> </highlight>
  729.         <autoHighlight> <true /> </autoHighlight>
  730.         <sharedHighlight> <true /> </sharedHighlight>
  731.         <family>0</family>
  732.         <titleWidth>0</titleWidth>
  733.         <icon>0</icon>
  734.         <textAlign>center</textAlign>
  735.         <font>Geneva</font>
  736.         <textSize>12</textSize>
  737.         <textStyle>plain</textStyle>
  738.         <name></name>
  739.         <script>on mouseUp
  740. ls
  741. hide btn 2
  742. hide cd fld 2
  743. hide cd fld 3
  744. hide cd fld 4
  745. hide cd fld 5
  746. put empty into cd fld 4
  747. end mouseUp
  748. </script>
  749.     </part>
  750.     <part>
  751.         <id>14</id>
  752.         <type>field</type>
  753.         <visible> <false /> </visible>
  754.         <dontWrap> <false /> </dontWrap>
  755.         <dontSearch> <false /> </dontSearch>
  756.         <sharedText> <false /> </sharedText>
  757.         <fixedLineHeight> <true /> </fixedLineHeight>
  758.         <autoTab> <false /> </autoTab>
  759.         <lockText> <true /> </lockText>
  760.         <rect>
  761.             <left>30</left>
  762.             <top>130</top>
  763.             <right>488</right>
  764.             <bottom>218</bottom>
  765.         </rect>
  766.         <style>rectangle</style>
  767.         <autoSelect> <false /> </autoSelect>
  768.         <showLines> <false /> </showLines>
  769.         <wideMargins> <false /> </wideMargins>
  770.         <multipleLines> <false /> </multipleLines>
  771.         <reservedFamily> 0 </reservedFamily>
  772.         <titleWidth>0</titleWidth>
  773.         <icon>0</icon>
  774.         <textAlign>left</textAlign>
  775.         <font>Geneva</font>
  776.         <textSize>9</textSize>
  777.         <textStyle>plain</textStyle>
  778.         <textHeight>12</textHeight>
  779.         <name></name>
  780.         <script></script>
  781.     </part>
  782.     <part>
  783.         <id>15</id>
  784.         <type>field</type>
  785.         <visible> <false /> </visible>
  786.         <dontWrap> <false /> </dontWrap>
  787.         <dontSearch> <false /> </dontSearch>
  788.         <sharedText> <false /> </sharedText>
  789.         <fixedLineHeight> <true /> </fixedLineHeight>
  790.         <autoTab> <false /> </autoTab>
  791.         <lockText> <false /> </lockText>
  792.         <rect>
  793.             <left>19</left>
  794.             <top>244</top>
  795.             <right>494</right>
  796.             <bottom>262</bottom>
  797.         </rect>
  798.         <style>rectangle</style>
  799.         <autoSelect> <false /> </autoSelect>
  800.         <showLines> <false /> </showLines>
  801.         <wideMargins> <false /> </wideMargins>
  802.         <multipleLines> <false /> </multipleLines>
  803.         <reservedFamily> 0 </reservedFamily>
  804.         <titleWidth>0</titleWidth>
  805.         <icon>0</icon>
  806.         <textAlign>center</textAlign>
  807.         <font>Geneva</font>
  808.         <textSize>10</textSize>
  809.         <textStyle>plain</textStyle>
  810.         <textHeight>13</textHeight>
  811.         <name></name>
  812.         <script></script>
  813.     </part>
  814.     <content>
  815.         <layer>card</layer>
  816.         <id>1</id>
  817.         <text>
  818.  
  819.                                                   Align 2.6
  820.  
  821.                                           by Fr├⌐d├⌐ric RINALDI
  822.  
  823.                           from an original idea of Jean-Luc PASTRE
  824.  
  825. CAUTION :
  826. =======
  827.    Parameter format for "delim[,filler]" have changed comparing to previous version. Please update your scripts is special delimiter was used in your call.
  828.  
  829.  
  830. DESCRIPTION
  831. ------------
  832.   Align is a XFCN allowing to align in columns the content of a field.
  833.  
  834.  
  835. SYNTAX
  836. --------
  837.       Align(<text>[,<F1>[ΓǪ,<Fn>]][,"s=<sep char>"][,"f=<filler char>"])
  838.  
  839.     F = "<col. width>[,<L[eft]|R[ight]|C[enter]|D[ecimal]>[,<separator>]]"
  840.  
  841.  
  842. PARAMETERS
  843. ------------
  844.   <text> can be any valid HyperTalk container, or a litteral string.
  845.  
  846.   [,<F1>[ΓǪ,<Fn>]] define formats, each format applying to the corresponding column. Up to 14 formats can be defined, the last one being used for all succeeding columns.
  847.   A format is a three items string : an integer for the column width (>0 and 
  848. <256), a char (L, R, C or D) for the alignment of the text in the column and a separation string of any length which will be inserted after the column.
  849.   If the char "*" is used for the column width, it will be calculated accor-ding to the longest item found in it.
  850.    If no format is passed as param, "*,L, " will be used as default.
  851.  
  852.    "s=<sep char>"  is an optionnal single character, and allows to use any other char in place of comma to delimit the columns.
  853.  
  854.    "f=<filler char>" is an optionnal single character, and allows to define the filler character (space by default).
  855.  
  856.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  857.  
  858.  
  859. USING
  860. -----
  861.   The XFCN return the columnized text. If a chunk is longer than its column width, its last (or first, with right alignment) char will be "ΓǪ".
  862.   Each column's width cannot exceed 255 chars.
  863.   Finally, use a non-proportional font (Courier, Monaco, etc.) for the field to get a correct presentation.
  864.  
  865.   If an error occurs, the fonction will return :
  866.  
  867.      "Error : Out of memory"
  868.      "Error : Missing parameter"
  869.      "Error : Param must be "s=ΓǪ" or "f=ΓǪ""
  870.      "Error : Missing char following "X=""
  871.      "Error : First item of Format X must be an integer > 0"
  872.      "Error : First item of Format X must be an integer Γëñ 255"
  873.      "Error : Second item of Format X must be [l,r,c,d]"
  874.  
  875.  
  876. VERSIONS HISTORY
  877. -----------------
  878. 2.6 :                                                                                          06/09/92
  879. ΓÇó Fixed bug when no format param is passed
  880. ΓÇó Fixed bug with decimal format and non-decimal data
  881.  
  882. 2.5 :                                                                                          03/17/92
  883. ΓÇó Fixed decimal alignment
  884. ΓÇó Trailing returns removed from input List
  885.  
  886. 2.4 :                                                                                          03/15/92
  887. ΓÇó Fixed that rare, random & nasty bug
  888. ΓÇó Unlimited columns number
  889. ΓÇó Added decimal alignment
  890. ΓÇó Changed delim & filler params format
  891. ΓÇó Only first param is now needed
  892. ΓÇó Each line is extended to the last column.
  893.  
  894. 2.2 :
  895. ΓÇó Max columns extended to 100 with range checking
  896.  
  897. 2.1 :
  898. ΓÇó Last column delimiter removed.
  899.  
  900. 2.0 :
  901. ΓÇó Fixed a small bug arising with certain delimiter chars.
  902. ΓÇó Added the automatic column width calculation.
  903.  
  904. 1.1 :
  905. ΓÇó third items of a format string can now be empty
  906. ΓÇó no more separator string returned after last column
  907. ΓÇó all separator strings are shown, even for empty lines
  908. ΓÇó filler char choice added
  909. ΓÇó all separator strings shown, whatever is number of items of line
  910. ΓÇó trailing spaces removed at the end of the lines
  911. </text>
  912.     </content>
  913.     <content>
  914.         <layer>card</layer>
  915.         <id>9</id>
  916.         <text>hello,this,is,an,interresting,test,2.1
  917. hello,this,is,an,interresting,test,.256
  918. hello,this,is,an,interresting,test,66
  919.  
  920. hello,this,,an,interresting,test,(56)
  921. hello,this,is,an,interresting,test,-17.22
  922. hello,this,is,an,,test,(72.1)</text>
  923.     </content>
  924.     <content>
  925.         <layer>card</layer>
  926.         <id>15</id>
  927.         <text>put Align(cd fld 3,"10,Left,|","10,c,|","6,R,|","10,L,|","6,L,|","*,r, |$","*,D,|") into cd fld 4</text>
  928.     </content>
  929.     <content>
  930.         <layer>card</layer>
  931.         <id>8</id>
  932.         <text>
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.              Command string to execute : (click on Align button)</text>
  946.     </content>
  947.     <name></name>
  948.     <script></script>
  949. </card>
  950.  
  951.  
  952. card_4934.xml
  953. <?xml version="1.0" encoding="utf-8" ?>
  954. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  955. <card>
  956.     <id>4934</id>
  957.     <filler1>0</filler1>
  958.     <bitmap>BMAP_5336.pbm</bitmap>
  959.     <cantDelete> <false /> </cantDelete>
  960.     <showPict> <true /> </showPict>
  961.     <dontSearch> <false /> </dontSearch>
  962.     <owner>46925</owner>
  963.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  964.     <part>
  965.         <id>1</id>
  966.         <type>field</type>
  967.         <visible> <true /> </visible>
  968.         <dontWrap> <false /> </dontWrap>
  969.         <dontSearch> <false /> </dontSearch>
  970.         <sharedText> <false /> </sharedText>
  971.         <fixedLineHeight> <true /> </fixedLineHeight>
  972.         <autoTab> <false /> </autoTab>
  973.         <lockText> <true /> </lockText>
  974.         <rect>
  975.             <left>69</left>
  976.             <top>68</top>
  977.             <right>434</right>
  978.             <bottom>252</bottom>
  979.         </rect>
  980.         <style>scrolling</style>
  981.         <autoSelect> <false /> </autoSelect>
  982.         <showLines> <false /> </showLines>
  983.         <wideMargins> <false /> </wideMargins>
  984.         <multipleLines> <false /> </multipleLines>
  985.         <reservedFamily> 0 </reservedFamily>
  986.         <titleWidth>0</titleWidth>
  987.         <icon>0</icon>
  988.         <textAlign>left</textAlign>
  989.         <font>Geneva</font>
  990.         <textSize>9</textSize>
  991.         <textStyle>plain</textStyle>
  992.         <textHeight>12</textHeight>
  993.         <name></name>
  994.         <script></script>
  995.     </part>
  996.     <part>
  997.         <id>5</id>
  998.         <type>button</type>
  999.         <visible> <true /> </visible>
  1000.         <reserved5> 0 </reserved5>
  1001.         <reserved4> 0 </reserved4>
  1002.         <reserved3> 0 </reserved3>
  1003.         <reserved2> 0 </reserved2>
  1004.         <reserved1> 0 </reserved1>
  1005.         <enabled> <true /> </enabled>
  1006.         <rect>
  1007.             <left>174</left>
  1008.             <top>281</top>
  1009.             <right>343</right>
  1010.             <bottom>311</bottom>
  1011.         </rect>
  1012.         <style>roundrect</style>
  1013.         <showName> <true /> </showName>
  1014.         <highlight> <false /> </highlight>
  1015.         <autoHighlight> <true /> </autoHighlight>
  1016.         <sharedHighlight> <true /> </sharedHighlight>
  1017.         <family>0</family>
  1018.         <titleWidth>0</titleWidth>
  1019.         <icon>0</icon>
  1020.         <textAlign>center</textAlign>
  1021.         <font>Geneva</font>
  1022.         <textSize>12</textSize>
  1023.         <textStyle>plain</textStyle>
  1024.         <name>ATalkZones</name>
  1025.         <script>on mouseUp
  1026. get AtalkZones()
  1027. if number of lines of it = 1
  1028. then answer it with "Too bad !"
  1029. else
  1030. put it into cd fld 2
  1031. show cd fld 2
  1032. end if
  1033. end mouseUp
  1034. </script>
  1035.     </part>
  1036.     <part>
  1037.         <id>16</id>
  1038.         <type>field</type>
  1039.         <visible> <false /> </visible>
  1040.         <dontWrap> <false /> </dontWrap>
  1041.         <dontSearch> <false /> </dontSearch>
  1042.         <sharedText> <false /> </sharedText>
  1043.         <fixedLineHeight> <true /> </fixedLineHeight>
  1044.         <autoTab> <false /> </autoTab>
  1045.         <lockText> <true /> </lockText>
  1046.         <rect>
  1047.             <left>104</left>
  1048.             <top>95</top>
  1049.             <right>397</right>
  1050.             <bottom>230</bottom>
  1051.         </rect>
  1052.         <style>scrolling</style>
  1053.         <autoSelect> <false /> </autoSelect>
  1054.         <showLines> <false /> </showLines>
  1055.         <wideMargins> <true /> </wideMargins>
  1056.         <multipleLines> <false /> </multipleLines>
  1057.         <reservedFamily> 0 </reservedFamily>
  1058.         <titleWidth>0</titleWidth>
  1059.         <icon>0</icon>
  1060.         <textAlign>left</textAlign>
  1061.         <font>Geneva</font>
  1062.         <textSize>12</textSize>
  1063.         <textStyle>plain</textStyle>
  1064.         <textHeight>16</textHeight>
  1065.         <name></name>
  1066.         <script>on mouseUp
  1067. hide me
  1068. end mouseUp</script>
  1069.     </part>
  1070.     <content>
  1071.         <layer>card</layer>
  1072.         <id>1</id>
  1073.         <text>
  1074.  
  1075.                                              ATalkZones 1.1
  1076.  
  1077.                                           by Fr├⌐d├⌐ric RINALDI
  1078.  
  1079.  
  1080. DESCRIPTION
  1081. ------------
  1082.   ATalkZones XFCN returns the node's zone and all available zones over AppleTalk.
  1083.  
  1084.  
  1085. SYNTAX
  1086. --------
  1087.                                               ATalkZones ()
  1088.  
  1089. PARAMETERS
  1090. ------------
  1091.    No parameter required, but using "!" and "?" returns online help (resp. about and syntax).
  1092.  
  1093. USING
  1094. -----
  1095.    The XFCN returns a lines list of found zones, the first line being the name of the calling node's zone.
  1096.  
  1097. If an error occurs, the XFCN can return :
  1098.  
  1099.              "Error : Out of Memory"
  1100.              "Error : Couldn't get node address"
  1101.              "Error : Couldn't get current zone"
  1102.              "Error : Couldn't get zones list"
  1103.  
  1104. VERSION HISTORY
  1105. ----------------
  1106. 1.1 : ΓÇó┬áChanged output string
  1107. </text>
  1108.     </content>
  1109.     <content>
  1110.         <layer>card</layer>
  1111.         <id>16</id>
  1112.         <text>TechTeam
  1113. Paris
  1114. N.N.C
  1115. Training
  1116. ACF Velizy</text>
  1117.     </content>
  1118.     <name>ATalkZones 1.1</name>
  1119.     <script>
  1120.  
  1121.  
  1122.  
  1123. on opencard
  1124. end opencard
  1125.  
  1126. on closeCard
  1127. end closeCard
  1128.  
  1129. </script>
  1130. </card>
  1131.  
  1132.  
  1133. card_47625.xml
  1134. <?xml version="1.0" encoding="utf-8" ?>
  1135. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1136. <card>
  1137.     <id>47625</id>
  1138.     <filler1>0</filler1>
  1139.     <bitmap>BMAP_16472.pbm</bitmap>
  1140.     <cantDelete> <false /> </cantDelete>
  1141.     <showPict> <true /> </showPict>
  1142.     <dontSearch> <false /> </dontSearch>
  1143.     <owner>46925</owner>
  1144.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  1145.     <part>
  1146.         <id>1</id>
  1147.         <type>field</type>
  1148.         <visible> <true /> </visible>
  1149.         <dontWrap> <false /> </dontWrap>
  1150.         <dontSearch> <false /> </dontSearch>
  1151.         <sharedText> <false /> </sharedText>
  1152.         <fixedLineHeight> <true /> </fixedLineHeight>
  1153.         <autoTab> <false /> </autoTab>
  1154.         <lockText> <true /> </lockText>
  1155.         <rect>
  1156.             <left>69</left>
  1157.             <top>68</top>
  1158.             <right>434</right>
  1159.             <bottom>252</bottom>
  1160.         </rect>
  1161.         <style>scrolling</style>
  1162.         <autoSelect> <false /> </autoSelect>
  1163.         <showLines> <false /> </showLines>
  1164.         <wideMargins> <false /> </wideMargins>
  1165.         <multipleLines> <false /> </multipleLines>
  1166.         <reservedFamily> 0 </reservedFamily>
  1167.         <titleWidth>0</titleWidth>
  1168.         <icon>0</icon>
  1169.         <textAlign>left</textAlign>
  1170.         <font>Geneva</font>
  1171.         <textSize>9</textSize>
  1172.         <textStyle>plain</textStyle>
  1173.         <textHeight>12</textHeight>
  1174.         <name>Text</name>
  1175.         <script></script>
  1176.     </part>
  1177.     <part>
  1178.         <id>5</id>
  1179.         <type>button</type>
  1180.         <visible> <true /> </visible>
  1181.         <reserved5> 0 </reserved5>
  1182.         <reserved4> 0 </reserved4>
  1183.         <reserved3> 0 </reserved3>
  1184.         <reserved2> 0 </reserved2>
  1185.         <reserved1> 0 </reserved1>
  1186.         <enabled> <true /> </enabled>
  1187.         <rect>
  1188.             <left>174</left>
  1189.             <top>281</top>
  1190.             <right>343</right>
  1191.             <bottom>311</bottom>
  1192.         </rect>
  1193.         <style>roundrect</style>
  1194.         <showName> <true /> </showName>
  1195.         <highlight> <false /> </highlight>
  1196.         <autoHighlight> <true /> </autoHighlight>
  1197.         <sharedHighlight> <true /> </sharedHighlight>
  1198.         <family>0</family>
  1199.         <titleWidth>0</titleWidth>
  1200.         <icon>0</icon>
  1201.         <textAlign>center</textAlign>
  1202.         <font>Chicago</font>
  1203.         <textSize>12</textSize>
  1204.         <textStyle>plain</textStyle>
  1205.         <name>Calendoid</name>
  1206.         <script>on mouseUp
  1207. Calendoid
  1208. end mouseUp</script>
  1209.     </part>
  1210.     <content>
  1211.         <layer>card</layer>
  1212.         <id>1</id>
  1213.         <text><span class="style1">
  1214.                                             </span><span class="style3">Calendoid 1.3</span><span class="style1">
  1215.  
  1216.                                           </span><span class="style2">by Fr├⌐d├⌐ric RINALDI</span><span class="style1">
  1217.  
  1218.  
  1219. </span><span class="style4">DESCRIPTION</span><span class="style1">
  1220.   Calendoid XCMD displays a monthly calendar window.
  1221.  
  1222.  
  1223. </span><span class="style4">SYNTAX</span><span class="style1">
  1224.                                            Calendoid [<date>]
  1225.  
  1226.  
  1227. </span><span class="style4">PARAMETERS</span><span class="style1">
  1228.    <date> is optional, and is a date string corresponding to the month to be displayed in the window. Any usual date format can be used.
  1229.  
  1230.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  1231.  
  1232.  
  1233. </span><span class="style4">USING</span><span class="style1">
  1234.    Clicking on left and right arrows allows to display previous or next month. Holding Optionkey down allows to jump from year to year.
  1235.  
  1236.    Clicking on a day of month displays the week and day numbers at the bottom of the window.
  1237.  
  1238.    Clicking on the month's name brings back to current month.
  1239.  
  1240.    Macintosh's internal clock can only handle dates between 1/1/1904 and 2/6/2040.
  1241.  
  1242.  
  1243. </span><span class="style4">MESSAGES
  1244. </span><span class="style1">   
  1245.    </span><span class="style3">OpenCalendoid</span><span class="style1"> : sent when a windoid is opened, followed by the windoid name and ID. This allows to define window properties before it is shown, since the message can be trapped using a handler :
  1246.  
  1247. </span><span class="style5">     on openCalendoid WName,WId
  1248.        if WName is "MyWindow" then...
  1249.      end openCalendoid
  1250.  
  1251. </span><span class="style1">   </span><span class="style3">CloseCalendoid</span><span class="style1"> : sent when a windoid is closed, followed by the windoid name and ID. This allows to define window properties before it is shown, since the message can be trapped using a handler :
  1252.  
  1253. </span><span class="style5">     on closeCalendoid WName,WId
  1254.        if WName is "MyWindow" then...
  1255.      end closeCalendoid
  1256. </span><span class="style3">
  1257. </span><span class="style1">   </span><span class="style3">ClickInCalendoid</span><span class="style1"> : </span><span class="style5">s</span><span class="style1">ent when double-clicking on a day in the window, followed by the windoid name and ID, the clicked date in short format, the week and day numbers.
  1258.  
  1259. </span><span class="style5">     on clickInCalendoid WName,WId,When,WeekNb,DayNb
  1260.        put When
  1261.      end clickInCalendoid
  1262.  
  1263. </span><span class="style1">
  1264. </span><span class="style4">PROPERTIES</span><span class="style1">
  1265.    Like any XWindow, Calendoid has properties that can be get and set thru HyperTalk. 
  1266.                           </span><span class="style5">properties of window "Calendoid"
  1267. </span><span class="style1">
  1268.    will return an item list of all allowed properties :
  1269.  
  1270.      ΓÇó loc             : windoid's position according to card (X,Y)
  1271.      ΓÇó visible       : windoid's visibility (</span><span class="style14">true</span><span class="style1"> or false)
  1272.      ΓÇó id              : windoid's id (</span><span class="style3">get</span><span class="style1"> only)
  1273.      ΓÇó messages  : list of messages sent by the windoid (</span><span class="style3">get</span><span class="style1"> only)
  1274.      ΓÇó rect          : windoid's rect according to card (X,Y,Z,T) (</span><span class="style3">get</span><span class="style1"> only)
  1275.      ΓÇó date          : currently displayed date (M[M]/1/YY)
  1276.  
  1277.  
  1278. </span><span class="style4">ERRORS</span><span class="style1">
  1279. If an error occurs, Calendoid can return :
  1280.      "Error : Unable to create XWindow"
  1281.      "Error : XWindows not implemented"
  1282.      "Error : Out of memory"
  1283.      "Error : Incorrect date"
  1284.  
  1285.  
  1286. </span><span class="style4">HISTORY</span><span class="style1">
  1287. 1.3                                                                                            06/25/92
  1288. ΓÇó Fixed click bug on a non-valid day
  1289.  
  1290. 1.2                                                                                            06/16/92
  1291. ΓÇó Added week and day numbers to display and result.
  1292.  
  1293. 1.1                                                                                            06/09/92
  1294. ΓÇó Limitation to valid dates
  1295. ΓÇó Now use mouseUp for clickInCalendoid
  1296.  
  1297. 1.0                                                                                            06/04/92
  1298. ΓÇó First release
  1299. </span></text>
  1300.     </content>
  1301.     <name>Calendoid 1.3</name>
  1302.     <script>on clickInCalendoid WName,WId,When
  1303. answer "You clicked on" && When
  1304. end clickInCalendoid
  1305. </script>
  1306. </card>
  1307.  
  1308.  
  1309. card_5585.xml
  1310. <?xml version="1.0" encoding="utf-8" ?>
  1311. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1312. <card>
  1313.     <id>5585</id>
  1314.     <filler1>0</filler1>
  1315.     <bitmap>BMAP_5827.pbm</bitmap>
  1316.     <cantDelete> <false /> </cantDelete>
  1317.     <showPict> <true /> </showPict>
  1318.     <dontSearch> <false /> </dontSearch>
  1319.     <owner>46925</owner>
  1320.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  1321.     <part>
  1322.         <id>1</id>
  1323.         <type>field</type>
  1324.         <visible> <true /> </visible>
  1325.         <dontWrap> <false /> </dontWrap>
  1326.         <dontSearch> <false /> </dontSearch>
  1327.         <sharedText> <false /> </sharedText>
  1328.         <fixedLineHeight> <true /> </fixedLineHeight>
  1329.         <autoTab> <false /> </autoTab>
  1330.         <lockText> <true /> </lockText>
  1331.         <rect>
  1332.             <left>69</left>
  1333.             <top>68</top>
  1334.             <right>434</right>
  1335.             <bottom>252</bottom>
  1336.         </rect>
  1337.         <style>scrolling</style>
  1338.         <autoSelect> <false /> </autoSelect>
  1339.         <showLines> <false /> </showLines>
  1340.         <wideMargins> <false /> </wideMargins>
  1341.         <multipleLines> <false /> </multipleLines>
  1342.         <reservedFamily> 0 </reservedFamily>
  1343.         <titleWidth>0</titleWidth>
  1344.         <icon>0</icon>
  1345.         <textAlign>left</textAlign>
  1346.         <font>Geneva</font>
  1347.         <textSize>9</textSize>
  1348.         <textStyle>plain</textStyle>
  1349.         <textHeight>12</textHeight>
  1350.         <name></name>
  1351.         <script></script>
  1352.     </part>
  1353.     <part>
  1354.         <id>5</id>
  1355.         <type>button</type>
  1356.         <visible> <true /> </visible>
  1357.         <reserved5> 0 </reserved5>
  1358.         <reserved4> 0 </reserved4>
  1359.         <reserved3> 0 </reserved3>
  1360.         <reserved2> 0 </reserved2>
  1361.         <reserved1> 0 </reserved1>
  1362.         <enabled> <true /> </enabled>
  1363.         <rect>
  1364.             <left>174</left>
  1365.             <top>281</top>
  1366.             <right>343</right>
  1367.             <bottom>311</bottom>
  1368.         </rect>
  1369.         <style>roundrect</style>
  1370.         <showName> <true /> </showName>
  1371.         <highlight> <false /> </highlight>
  1372.         <autoHighlight> <true /> </autoHighlight>
  1373.         <sharedHighlight> <true /> </sharedHighlight>
  1374.         <family>0</family>
  1375.         <titleWidth>0</titleWidth>
  1376.         <icon>0</icon>
  1377.         <textAlign>center</textAlign>
  1378.         <font>Geneva</font>
  1379.         <textSize>12</textSize>
  1380.         <textStyle>plain</textStyle>
  1381.         <name>CapsLock</name>
  1382.         <script>on mouseUp
  1383. answer CapsLock()
  1384. end mouseUp
  1385. </script>
  1386.     </part>
  1387.     <content>
  1388.         <layer>card</layer>
  1389.         <id>1</id>
  1390.         <text>
  1391.  
  1392.                                                CapsLock 1.0
  1393.  
  1394.                                           by Fr├⌐d├⌐ric RINALDI
  1395.  
  1396.  
  1397. DESCRIPTION
  1398. ------------
  1399.   CapsLock XFCN allows to test if the CapsLock key is down or not.
  1400.  
  1401.  
  1402. SYNTAX
  1403. --------
  1404.                                                  CapsLock()
  1405.  
  1406. PARAMETERS
  1407. ------------
  1408.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  1409.  
  1410. USING
  1411. -----
  1412.   The XFCN returns true if the CapsLock is down, false if not.
  1413. </text>
  1414.     </content>
  1415.     <name>CapsLock 1.0</name>
  1416.     <script>
  1417.  
  1418.  
  1419.  
  1420. on opencard
  1421. end opencard
  1422.  
  1423. on closeCard
  1424. end closeCard
  1425.  
  1426. </script>
  1427. </card>
  1428.  
  1429.  
  1430. card_6005.xml
  1431. <?xml version="1.0" encoding="utf-8" ?>
  1432. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1433. <card>
  1434.     <id>6005</id>
  1435.     <filler1>0</filler1>
  1436.     <bitmap>BMAP_6182.pbm</bitmap>
  1437.     <cantDelete> <false /> </cantDelete>
  1438.     <showPict> <true /> </showPict>
  1439.     <dontSearch> <false /> </dontSearch>
  1440.     <owner>46925</owner>
  1441.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  1442.     <part>
  1443.         <id>1</id>
  1444.         <type>field</type>
  1445.         <visible> <true /> </visible>
  1446.         <dontWrap> <false /> </dontWrap>
  1447.         <dontSearch> <false /> </dontSearch>
  1448.         <sharedText> <false /> </sharedText>
  1449.         <fixedLineHeight> <true /> </fixedLineHeight>
  1450.         <autoTab> <false /> </autoTab>
  1451.         <lockText> <true /> </lockText>
  1452.         <rect>
  1453.             <left>69</left>
  1454.             <top>68</top>
  1455.             <right>434</right>
  1456.             <bottom>252</bottom>
  1457.         </rect>
  1458.         <style>scrolling</style>
  1459.         <autoSelect> <false /> </autoSelect>
  1460.         <showLines> <false /> </showLines>
  1461.         <wideMargins> <false /> </wideMargins>
  1462.         <multipleLines> <false /> </multipleLines>
  1463.         <reservedFamily> 0 </reservedFamily>
  1464.         <titleWidth>0</titleWidth>
  1465.         <icon>0</icon>
  1466.         <textAlign>left</textAlign>
  1467.         <font>Geneva</font>
  1468.         <textSize>9</textSize>
  1469.         <textStyle>plain</textStyle>
  1470.         <textHeight>12</textHeight>
  1471.         <name></name>
  1472.         <script></script>
  1473.     </part>
  1474.     <part>
  1475.         <id>25</id>
  1476.         <type>button</type>
  1477.         <visible> <true /> </visible>
  1478.         <reserved5> 0 </reserved5>
  1479.         <reserved4> 0 </reserved4>
  1480.         <reserved3> 0 </reserved3>
  1481.         <reserved2> 0 </reserved2>
  1482.         <reserved1> 0 </reserved1>
  1483.         <enabled> <true /> </enabled>
  1484.         <rect>
  1485.             <left>201</left>
  1486.             <top>278</top>
  1487.             <right>346</right>
  1488.             <bottom>316</bottom>
  1489.         </rect>
  1490.         <style>roundrect</style>
  1491.         <showName> <true /> </showName>
  1492.         <highlight> <false /> </highlight>
  1493.         <autoHighlight> <true /> </autoHighlight>
  1494.         <sharedHighlight> <true /> </sharedHighlight>
  1495.         <family>0</family>
  1496.         <titleWidth>0</titleWidth>
  1497.         <icon>0</icon>
  1498.         <textAlign>center</textAlign>
  1499.         <font>Geneva</font>
  1500.         <textSize>12</textSize>
  1501.         <textStyle>plain</textStyle>
  1502.         <name>ChooseColor</name>
  1503.         <script>on mouseUp
  1504. get ChooseColor()
  1505. if it Γëá empty
  1506. then answer it
  1507. else answer "Cancelled"
  1508. end mouseUp
  1509. </script>
  1510.     </part>
  1511.     <content>
  1512.         <layer>card</layer>
  1513.         <id>1</id>
  1514.         <text>
  1515.  
  1516.                                             ChooseColor 1.1
  1517.  
  1518.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  1519.  
  1520.  
  1521. DESCRIPTION
  1522. ------------
  1523.   ChooseColor allows to choose a color using the Apple Color Picker dialog.
  1524.  
  1525.  
  1526. SYNTAX
  1527. -------
  1528.                     ChooseColor([<prompt>[,<initial color>]])
  1529.  
  1530.  
  1531. PARAMETERS
  1532. ------------
  1533.    All parameters are optional.
  1534.  
  1535.     Prompt is a string that will be prompted in the Color Picker dialog. Default value is "Please select a color :".
  1536.  
  1537.    Initial color is a three integer items string corresponding to red, green and blue values of the color that will be shown at the dialog's opening.
  1538.  
  1539.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  1540.  
  1541.  
  1542. USING
  1543. ------
  1544.    The XFCN retuns a three integer items string corresponding to red, green and blue values of the choosen color. If cancelled, the returned string is empty.
  1545.  
  1546.    If an error occurs, the XFCN can return :
  1547.  
  1548.                  "Error : Bad red value"
  1549.                  "Error : Bad green value"
  1550.                  "Error : Bad blue value"
  1551.  
  1552. HISTORY
  1553. --------
  1554. 1.1
  1555. ΓÇó Use notification manager for HC 2.0
  1556. </text>
  1557.     </content>
  1558.     <name>ChooseColor 1.1</name>
  1559.     <script>
  1560.  
  1561.  
  1562.  
  1563. on opencard
  1564. end opencard
  1565.  
  1566. on closeCard
  1567. end closeCard
  1568.  
  1569. </script>
  1570. </card>
  1571.  
  1572.  
  1573. card_6407.xml
  1574. <?xml version="1.0" encoding="utf-8" ?>
  1575. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1576. <card>
  1577.     <id>6407</id>
  1578.     <filler1>0</filler1>
  1579.     <bitmap>BMAP_6883.pbm</bitmap>
  1580.     <cantDelete> <false /> </cantDelete>
  1581.     <showPict> <true /> </showPict>
  1582.     <dontSearch> <false /> </dontSearch>
  1583.     <owner>46925</owner>
  1584.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  1585.     <part>
  1586.         <id>1</id>
  1587.         <type>field</type>
  1588.         <visible> <true /> </visible>
  1589.         <dontWrap> <false /> </dontWrap>
  1590.         <dontSearch> <false /> </dontSearch>
  1591.         <sharedText> <false /> </sharedText>
  1592.         <fixedLineHeight> <true /> </fixedLineHeight>
  1593.         <autoTab> <false /> </autoTab>
  1594.         <lockText> <true /> </lockText>
  1595.         <rect>
  1596.             <left>69</left>
  1597.             <top>68</top>
  1598.             <right>434</right>
  1599.             <bottom>252</bottom>
  1600.         </rect>
  1601.         <style>scrolling</style>
  1602.         <autoSelect> <false /> </autoSelect>
  1603.         <showLines> <false /> </showLines>
  1604.         <wideMargins> <false /> </wideMargins>
  1605.         <multipleLines> <false /> </multipleLines>
  1606.         <reservedFamily> 0 </reservedFamily>
  1607.         <titleWidth>0</titleWidth>
  1608.         <icon>0</icon>
  1609.         <textAlign>left</textAlign>
  1610.         <font>Geneva</font>
  1611.         <textSize>9</textSize>
  1612.         <textStyle>plain</textStyle>
  1613.         <textHeight>12</textHeight>
  1614.         <name></name>
  1615.         <script></script>
  1616.     </part>
  1617.     <part>
  1618.         <id>5</id>
  1619.         <type>button</type>
  1620.         <visible> <true /> </visible>
  1621.         <reserved5> 0 </reserved5>
  1622.         <reserved4> 0 </reserved4>
  1623.         <reserved3> 0 </reserved3>
  1624.         <reserved2> 0 </reserved2>
  1625.         <reserved1> 0 </reserved1>
  1626.         <enabled> <true /> </enabled>
  1627.         <rect>
  1628.             <left>92</left>
  1629.             <top>283</top>
  1630.             <right>194</right>
  1631.             <bottom>316</bottom>
  1632.         </rect>
  1633.         <style>roundrect</style>
  1634.         <showName> <true /> </showName>
  1635.         <highlight> <false /> </highlight>
  1636.         <autoHighlight> <true /> </autoHighlight>
  1637.         <sharedHighlight> <true /> </sharedHighlight>
  1638.         <family>0</family>
  1639.         <titleWidth>0</titleWidth>
  1640.         <icon>0</icon>
  1641.         <textAlign>center</textAlign>
  1642.         <font>Geneva</font>
  1643.         <textSize>12</textSize>
  1644.         <textStyle>plain</textStyle>
  1645.         <name>CurrPrinter</name>
  1646.         <script>on mouseUp
  1647. put Switch(CurrPrinter()) into cd fld 2
  1648. show cd fld 2
  1649. end mouseUp
  1650. </script>
  1651.     </part>
  1652.     <part>
  1653.         <id>16</id>
  1654.         <type>field</type>
  1655.         <visible> <false /> </visible>
  1656.         <dontWrap> <false /> </dontWrap>
  1657.         <dontSearch> <false /> </dontSearch>
  1658.         <sharedText> <false /> </sharedText>
  1659.         <fixedLineHeight> <true /> </fixedLineHeight>
  1660.         <autoTab> <false /> </autoTab>
  1661.         <lockText> <true /> </lockText>
  1662.         <rect>
  1663.             <left>104</left>
  1664.             <top>95</top>
  1665.             <right>397</right>
  1666.             <bottom>230</bottom>
  1667.         </rect>
  1668.         <style>scrolling</style>
  1669.         <autoSelect> <false /> </autoSelect>
  1670.         <showLines> <false /> </showLines>
  1671.         <wideMargins> <true /> </wideMargins>
  1672.         <multipleLines> <false /> </multipleLines>
  1673.         <reservedFamily> 0 </reservedFamily>
  1674.         <titleWidth>0</titleWidth>
  1675.         <icon>0</icon>
  1676.         <textAlign>left</textAlign>
  1677.         <font>Geneva</font>
  1678.         <textSize>12</textSize>
  1679.         <textStyle>plain</textStyle>
  1680.         <textHeight>16</textHeight>
  1681.         <name></name>
  1682.         <script>on mouseUp
  1683. hide me
  1684. end mouseUp</script>
  1685.     </part>
  1686.     <part>
  1687.         <id>17</id>
  1688.         <type>button</type>
  1689.         <visible> <true /> </visible>
  1690.         <reserved5> 0 </reserved5>
  1691.         <reserved4> 0 </reserved4>
  1692.         <reserved3> 0 </reserved3>
  1693.         <reserved2> 0 </reserved2>
  1694.         <reserved1> 0 </reserved1>
  1695.         <enabled> <true /> </enabled>
  1696.         <rect>
  1697.             <left>239</left>
  1698.             <top>283</top>
  1699.             <right>341</right>
  1700.             <bottom>316</bottom>
  1701.         </rect>
  1702.         <style>roundrect</style>
  1703.         <showName> <true /> </showName>
  1704.         <highlight> <false /> </highlight>
  1705.         <autoHighlight> <true /> </autoHighlight>
  1706.         <sharedHighlight> <true /> </sharedHighlight>
  1707.         <family>0</family>
  1708.         <titleWidth>0</titleWidth>
  1709.         <icon>0</icon>
  1710.         <textAlign>center</textAlign>
  1711.         <font>Geneva</font>
  1712.         <textSize>12</textSize>
  1713.         <textStyle>plain</textStyle>
  1714.         <name>DeviceList</name>
  1715.         <script>on mouseUp
  1716. ask "Driver name :" with "LaserWriter"
  1717. if it Γëá empty
  1718. then
  1719. set cursor to watch
  1720. get DeviceList(it)
  1721. if first word of it is "Error"
  1722. then
  1723. answer it
  1724. else
  1725. put Switch(it) into cd fld 2
  1726. show cd fld 2
  1727. end if
  1728. end if
  1729. end mouseUp
  1730. </script>
  1731.     </part>
  1732.     <part>
  1733.         <id>18</id>
  1734.         <type>button</type>
  1735.         <visible> <true /> </visible>
  1736.         <reserved5> 0 </reserved5>
  1737.         <reserved4> 0 </reserved4>
  1738.         <reserved3> 0 </reserved3>
  1739.         <reserved2> 0 </reserved2>
  1740.         <reserved1> 0 </reserved1>
  1741.         <enabled> <true /> </enabled>
  1742.         <rect>
  1743.             <left>376</left>
  1744.             <top>283</top>
  1745.             <right>478</right>
  1746.             <bottom>316</bottom>
  1747.         </rect>
  1748.         <style>roundrect</style>
  1749.         <showName> <true /> </showName>
  1750.         <highlight> <false /> </highlight>
  1751.         <autoHighlight> <true /> </autoHighlight>
  1752.         <sharedHighlight> <true /> </sharedHighlight>
  1753.         <family>0</family>
  1754.         <titleWidth>0</titleWidth>
  1755.         <icon>0</icon>
  1756.         <textAlign>center</textAlign>
  1757.         <font>Geneva</font>
  1758.         <textSize>12</textSize>
  1759.         <textStyle>plain</textStyle>
  1760.         <name>ChoosePrinter</name>
  1761.         <script>on mouseUp
  1762. ask "Printer driver name :" with "LaserWriter"
  1763. if it is empty then exit mouseUp
  1764. put it into Driver
  1765.  
  1766. set cursor to watch
  1767. ask "Device name :" with first item of DeviceList(Driver)
  1768. if it is empty then exit mouseUp
  1769. put it into Device
  1770.  
  1771. set cursor to watch
  1772. ChoosePrinter Driver,Device
  1773.  
  1774. get the Result
  1775. if it Γëá empty
  1776. then answer it
  1777. else answer "Current device :" && item 2 of CurrPrinter()
  1778. end mouseUp
  1779. </script>
  1780.     </part>
  1781.     <content>
  1782.         <layer>card</layer>
  1783.         <id>1</id>
  1784.         <text>
  1785.  
  1786.                                                 Chooser 1.3
  1787.  
  1788.                                           by Fr├⌐d├⌐ric RINALDI
  1789.  
  1790.  
  1791. DESCRIPTION
  1792. ------------
  1793.   This stack contains 2 XFCN and 1 XCMD which allow to act like with the chooser, thus select any printing driver.
  1794.  
  1795.   IMPORTANT
  1796.     This kind of stuff is strictly forbidden by the Human Interface Guidelines,
  1797.     which tell to always let the user choose its printer with the Chooser DA
  1798.     and never do it inside a program.
  1799.     However, regarding the high demand for such a feature, I offer you the 
  1800.     opportunity to do it within a script. So, to preserve the interface, never
  1801.     forget to restore the previous setting after using these externals. (see
  1802.     the script of this stack).
  1803.  
  1804.  
  1805.                                            CurrPrinter 1.3
  1806.  
  1807.  
  1808. DESCRIPTION
  1809. ------------
  1810.    CurrPrinter is a XFCN which returns infos on the current printing device.
  1811.  
  1812. SYNTAX
  1813. --------
  1814.                                               CurrPrinter ()
  1815.  
  1816. PARAMETERS
  1817. ------------
  1818.    No parameter required, but using "!", "?"  or "=" as first parameter returns online help (resp. about, syntax and output).
  1819.  
  1820. USING
  1821. -----
  1822.    The XFCN returns a one, two or three items string :
  1823.    ΓÇó One item is returned if the printer is not shareable (like ImageWriter), 
  1824.       being the printer driver name of the System Folder.
  1825.    ΓÇó Two items are returned if the printer is shareable (like LaserWriter) 
  1826.       and is on the current zone. They are respectively the printer driver 
  1827.       name and the printer name.
  1828.    ΓÇó Three items are returned if the printer is shareable (like LaserWriter) 
  1829.       and is not on the current zone. They are respectively the printer driver 
  1830.       name, the printer name and the zone name.
  1831.  
  1832. If an error occurs, the XFCN can return :
  1833.  
  1834.      "Error : Couldn't locate System folder"
  1835.      "Error : Couln't get printer info"
  1836.      "Error : Printer driver file is missing"
  1837.  
  1838.  
  1839.                                            DeviceList 1.3
  1840.  
  1841.  
  1842. DESCRIPTION
  1843. ------------
  1844.    DeviceList is a XFCN which returns a list of available devices in a zone over the AppleTalk network. It can be used for any kind of devices, not only printers.
  1845.  
  1846. SYNTAX
  1847. --------
  1848.                       DeviceList(<driver name>[,<zone name>])
  1849.  
  1850. PARAMETERS
  1851. ------------
  1852.    <driver name> is the name of the driver file in the System Folder (or Extensions folder for System 7.0).
  1853.  
  1854. CAUTION : this has changed from last version which was expecting the device name. You now just have to supply the driver file name, and don't need anymore to know AppleTalk node name to use it.
  1855.  
  1856.    <zone name> is the zone string. If missing, the device is assumed to be on the current zone.
  1857.  
  1858.    Using "!", "?"  or "=" as first parameter returns online help (resp. about, syntax and output).
  1859.  
  1860. USING
  1861. -----
  1862.    The XFCN returns a list of items corresponding to the devices found on the network.
  1863.  
  1864. If an error occurs, the XFCN can return :
  1865.  
  1866.      "Error : Out of Memory"
  1867.      "Error : Couldn't locate System folder"
  1868.      "Error : Missing or empty driver name"
  1869.      "Error : Driver file not found"
  1870.      "Error : Couln't get node name"
  1871.      "Error : Couldn't open AppleTalk"
  1872.      "Error : Out of memory"
  1873.      "Error : Register failed"
  1874.      "Error : Lookup failed"
  1875.      "Error : Extract failed"
  1876.  
  1877.  
  1878.                                            ChoosePrinter 1.3
  1879.  
  1880.  
  1881. DESCRIPTION
  1882. ------------
  1883.    ChoosePrinter is a XCMD allowing to select any printer, shareable or not on any zone.
  1884.  
  1885. SYNTAX
  1886. --------
  1887.       ChoosePrinter <printer driver name>[,<printer name>[,<zone name>]]
  1888.  
  1889. PARAMETERS
  1890. ------------
  1891.    The three parameters are strings, the two last being optional.
  1892.  
  1893.    <printer driver name> is the name of the printer driver file in the System Folder (or Extensions folder for System 7.0).
  1894.  
  1895.    <printer name> must be supplied for shareable printers.
  1896.  
  1897.    <zone name> is the zone string. If missing, the device is assumed to be on the current zone.
  1898.  
  1899.    Using "!", "?"  or "=" as first parameter returns online help (resp. about, syntax and output).
  1900.  
  1901. USING
  1902. -----
  1903.    If an error occurs, the Result can contain :
  1904.  
  1905.      "Error : Printer driver file not found"
  1906.      "Error : Not a printer driver"
  1907.      "Error : Couldn't locate System folder"
  1908.      "Error : Missing or empty printer driver name"
  1909.      "Error : Printer driver file not found"
  1910.      "Error : Not a shared printer"
  1911.      "Error : Couln't get node name"
  1912.      "Error : Couln't get printer driver info"
  1913.      "Error : Couldn't set "alis" resource"
  1914.  
  1915.  
  1916. FINAL NOTE
  1917. ----------
  1918.    If you need to get the list of all available printer drivers available in the System Folder, you can use one of my other external GetDir in this way :
  1919.  
  1920.      put GetDir(FindFolder("Extensions"),"f","t=PRER") into List
  1921.  
  1922.  or
  1923.  
  1924.      put GetDir(FindFolder("Extensions"),"f","t=PREC") into List
  1925.  
  1926.    You can also get the name of all available AppleTalk zones by using another XFCN I wrote : ATalkZones.
  1927.  
  1928.  
  1929. HISTORY
  1930. --------
  1931. 1.3                                                                                            08/20/91
  1932. ΓÇó The three externals now are System 7.0 compatible
  1933. ΓÇó Changed DeviceList to accept driver name rather that ATalk device name
  1934. ΓÇó ChoosePrinter now checks to correct type of the driver (PRES or PREC)
  1935. ΓÇó Two externals have been renamed to be more accurate :
  1936.     ChooseDevice -> ChoosePrinter
  1937.     CurrDevice    -> CurrPrinter
  1938. ΓÇó General cleaning of the codes
  1939.  
  1940.  
  1941.    This stack uses Switch XFCN, ┬⌐ Frederic RINALDI 1989,1990,1991.
  1942. </text>
  1943.     </content>
  1944.     <content>
  1945.         <layer>card</layer>
  1946.         <id>16</id>
  1947.         <text>Error : Missing or empty driver name</text>
  1948.     </content>
  1949.     <name>Chooser 1.3</name>
  1950.     <script>
  1951.  
  1952.  
  1953.  
  1954. on opencard
  1955. global SavedPrinter
  1956. -- store the current device in a global var
  1957.  
  1958. put CurrPrinter() into SavedPrinter
  1959. repeat with i=1 to number of items of SavedPrinter
  1960. put quote before item i of SavedPrinter
  1961. put quote after item i of SavedPrinter
  1962. end repeat
  1963. end opencard
  1964.  
  1965. on closeCard
  1966. global SavedPrinter
  1967. -- restore the original device from the global var
  1968.  
  1969. do "ChoosePrinter" && SavedPrinter
  1970. end closeCard
  1971.  
  1972. </script>
  1973. </card>
  1974.  
  1975.  
  1976. card_6939.xml
  1977. <?xml version="1.0" encoding="utf-8" ?>
  1978. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1979. <card>
  1980.     <id>6939</id>
  1981.     <filler1>0</filler1>
  1982.     <bitmap>BMAP_7260.pbm</bitmap>
  1983.     <cantDelete> <false /> </cantDelete>
  1984.     <showPict> <true /> </showPict>
  1985.     <dontSearch> <false /> </dontSearch>
  1986.     <owner>46925</owner>
  1987.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  1988.     <part>
  1989.         <id>1</id>
  1990.         <type>field</type>
  1991.         <visible> <true /> </visible>
  1992.         <dontWrap> <false /> </dontWrap>
  1993.         <dontSearch> <false /> </dontSearch>
  1994.         <sharedText> <false /> </sharedText>
  1995.         <fixedLineHeight> <true /> </fixedLineHeight>
  1996.         <autoTab> <false /> </autoTab>
  1997.         <lockText> <true /> </lockText>
  1998.         <rect>
  1999.             <left>69</left>
  2000.             <top>68</top>
  2001.             <right>434</right>
  2002.             <bottom>252</bottom>
  2003.         </rect>
  2004.         <style>scrolling</style>
  2005.         <autoSelect> <false /> </autoSelect>
  2006.         <showLines> <false /> </showLines>
  2007.         <wideMargins> <false /> </wideMargins>
  2008.         <multipleLines> <false /> </multipleLines>
  2009.         <reservedFamily> 0 </reservedFamily>
  2010.         <titleWidth>0</titleWidth>
  2011.         <icon>0</icon>
  2012.         <textAlign>left</textAlign>
  2013.         <font>Geneva</font>
  2014.         <textSize>9</textSize>
  2015.         <textStyle>plain</textStyle>
  2016.         <textHeight>12</textHeight>
  2017.         <name></name>
  2018.         <script></script>
  2019.     </part>
  2020.     <part>
  2021.         <id>5</id>
  2022.         <type>button</type>
  2023.         <visible> <true /> </visible>
  2024.         <reserved5> 0 </reserved5>
  2025.         <reserved4> 0 </reserved4>
  2026.         <reserved3> 0 </reserved3>
  2027.         <reserved2> 0 </reserved2>
  2028.         <reserved1> 0 </reserved1>
  2029.         <enabled> <true /> </enabled>
  2030.         <rect>
  2031.             <left>174</left>
  2032.             <top>281</top>
  2033.             <right>343</right>
  2034.             <bottom>311</bottom>
  2035.         </rect>
  2036.         <style>roundrect</style>
  2037.         <showName> <true /> </showName>
  2038.         <highlight> <false /> </highlight>
  2039.         <autoHighlight> <true /> </autoHighlight>
  2040.         <sharedHighlight> <true /> </sharedHighlight>
  2041.         <family>0</family>
  2042.         <titleWidth>0</titleWidth>
  2043.         <icon>0</icon>
  2044.         <textAlign>center</textAlign>
  2045.         <font>Geneva</font>
  2046.         <textSize>12</textSize>
  2047.         <textStyle>plain</textStyle>
  2048.         <name>ClipInfo</name>
  2049.         <script>on mouseUp
  2050. answer ClipInfo()
  2051. end mouseUp
  2052. </script>
  2053.     </part>
  2054.     <content>
  2055.         <layer>card</layer>
  2056.         <id>1</id>
  2057.         <text>
  2058.  
  2059.                                                ClipInfo 1.0
  2060.  
  2061.                                           by Fr├⌐d├⌐ric RINALDI
  2062.  
  2063.  
  2064. DESCRIPTION
  2065. ------------
  2066.   ClipInfo XFCN returns the types of resources present in the clipboard, thus allows to determine its content..
  2067.  
  2068.  
  2069. SYNTAX
  2070. --------
  2071.                                               ClipInfo ()
  2072.  
  2073. PARAMETERS
  2074. ------------
  2075.    No parameter required, but using "!" and "?" returns online help (resp. about and syntax).
  2076.  
  2077. USING
  2078. -----
  2079.    If an error occurs, the XFCN can return :
  2080.  
  2081.         "Error : Couldn't load scrap"
  2082.         "Error : Out of memory"
  2083. </text>
  2084.     </content>
  2085.     <name>ClipInfo 1.0</name>
  2086.     <script>
  2087.  
  2088.  
  2089.  
  2090. on opencard
  2091. end opencard
  2092.  
  2093. on closeCard
  2094. end closeCard
  2095.  
  2096. </script>
  2097. </card>
  2098.  
  2099.  
  2100. card_7521.xml
  2101. <?xml version="1.0" encoding="utf-8" ?>
  2102. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2103. <card>
  2104.     <id>7521</id>
  2105.     <filler1>0</filler1>
  2106.     <bitmap>BMAP_7771.pbm</bitmap>
  2107.     <cantDelete> <false /> </cantDelete>
  2108.     <showPict> <true /> </showPict>
  2109.     <dontSearch> <false /> </dontSearch>
  2110.     <owner>46925</owner>
  2111.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  2112.     <part>
  2113.         <id>1</id>
  2114.         <type>field</type>
  2115.         <visible> <true /> </visible>
  2116.         <dontWrap> <false /> </dontWrap>
  2117.         <dontSearch> <false /> </dontSearch>
  2118.         <sharedText> <false /> </sharedText>
  2119.         <fixedLineHeight> <true /> </fixedLineHeight>
  2120.         <autoTab> <false /> </autoTab>
  2121.         <lockText> <true /> </lockText>
  2122.         <rect>
  2123.             <left>69</left>
  2124.             <top>68</top>
  2125.             <right>434</right>
  2126.             <bottom>252</bottom>
  2127.         </rect>
  2128.         <style>scrolling</style>
  2129.         <autoSelect> <false /> </autoSelect>
  2130.         <showLines> <false /> </showLines>
  2131.         <wideMargins> <false /> </wideMargins>
  2132.         <multipleLines> <false /> </multipleLines>
  2133.         <reservedFamily> 0 </reservedFamily>
  2134.         <titleWidth>0</titleWidth>
  2135.         <icon>0</icon>
  2136.         <textAlign>left</textAlign>
  2137.         <font>Geneva</font>
  2138.         <textSize>9</textSize>
  2139.         <textStyle>plain</textStyle>
  2140.         <textHeight>12</textHeight>
  2141.         <name></name>
  2142.         <script></script>
  2143.     </part>
  2144.     <part>
  2145.         <id>25</id>
  2146.         <type>button</type>
  2147.         <visible> <true /> </visible>
  2148.         <reserved5> 0 </reserved5>
  2149.         <reserved4> 0 </reserved4>
  2150.         <reserved3> 0 </reserved3>
  2151.         <reserved2> 0 </reserved2>
  2152.         <reserved1> 0 </reserved1>
  2153.         <enabled> <true /> </enabled>
  2154.         <rect>
  2155.             <left>201</left>
  2156.             <top>278</top>
  2157.             <right>346</right>
  2158.             <bottom>316</bottom>
  2159.         </rect>
  2160.         <style>roundrect</style>
  2161.         <showName> <true /> </showName>
  2162.         <highlight> <false /> </highlight>
  2163.         <autoHighlight> <true /> </autoHighlight>
  2164.         <sharedHighlight> <true /> </sharedHighlight>
  2165.         <family>0</family>
  2166.         <titleWidth>0</titleWidth>
  2167.         <icon>0</icon>
  2168.         <textAlign>center</textAlign>
  2169.         <font>Geneva</font>
  2170.         <textSize>12</textSize>
  2171.         <textStyle>plain</textStyle>
  2172.         <name>CopyFolder</name>
  2173.         <script>on mouseUp
  2174. get selectDir("Select Folder to copy :")
  2175. if it Γëá empty
  2176. then
  2177. put it into ProvFolder
  2178. put NameNewFile("New Folder","Select destination & name :") into DestPath
  2179. go this card
  2180. if DestPath Γëá empty
  2181. then
  2182. Answer "Copy files ?" with "No" or "Yes"
  2183. put (it is "Yes") into Files
  2184.  
  2185. set cursor to watch
  2186. put "Copying folder..."
  2187. CopyFolder ProvFolder,DestPath
  2188. get the Result
  2189. put empty
  2190. if it Γëá empty
  2191. then answer it
  2192. end if
  2193. end if
  2194. end mouseUp
  2195. </script>
  2196.     </part>
  2197.     <content>
  2198.         <layer>card</layer>
  2199.         <id>1</id>
  2200.         <text>
  2201.  
  2202.                                             CopyFolder 1.9
  2203.  
  2204.                                         by Fr├⌐d├⌐ric RINALDI
  2205.  
  2206.  
  2207. DESCRIPTION
  2208. ------------
  2209.   CopyFolder is a XCMD allowing to copy a whole folder, including all enclosed folders and files.
  2210.  
  2211.  
  2212. SYNTAX
  2213. -------
  2214.        CopyFolder <folder path, name or pathname>[,<dest path or name>]
  2215.                        [,<files>][,"ResolveAlias"]
  2216.  
  2217.  
  2218. PARAMETERS
  2219. ------------
  2220.  
  2221.    <folder path, name or pathname> can be a single name or whole pathname. If just a single name is supplied, the folder is assumed to be in the same folder than the current stack.
  2222.  
  2223.    <dest path or name> is optional. If not supplied, the file will be copied in the same folder as "Copy of...". If a single name is passed, the copy of the folder will take that new name in the same folder. If the second param end with colon, the folder will be copied in the designed folder and will keep its original name. Finally, a whole pathname can be provided to define both dest. directory and new folder name.
  2224.  
  2225.    <files> is a boolean, making the XCMD copy or not the included files. With false, only the folder structure will be copied. Default is true.
  2226.  
  2227.    "ResolveAlias" will be used when you want any alias file contained in the folder to be resolved before copying. In this case, the pointed files will be copied rather than their alias. Default is non-resolving aliases.
  2228.  
  2229.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  2230.  
  2231.  
  2232. USING
  2233. -----
  2234.    If the copy is successfull, the Result will be empty. If an error occurs, either the copy will be aborted (fatal error), or may continue (non-fatal error on a file). The Result will then return one line for each found error, each line containing two items : <error description>,<file pathname>.
  2235.  
  2236.    Error description can be one of these :
  2237.      "Error : Not a file"
  2238.      "Error : Not a folder"
  2239.      "Error : Alias file not supported"
  2240.      "Error : Volume not found"
  2241.      "Error : Bad Name"
  2242.      "Error : File not found"
  2243.      "Error : Folder not found"
  2244.      "Error : File is busy"
  2245.      "Error : I/O Error"
  2246.      "Error : Volume is full"
  2247.      "Error : Volume is locked"
  2248.      "Error : No resource fork"
  2249.      "Error : Duplicate file/folder name"
  2250.      "Error : MacOS param error"
  2251.      "Error : AppleShare insufficient privileges"
  2252.      "Error : No more disk space"
  2253.      "Error : Missing parameter(s)"
  2254.      "Error : Couln't create copy buffer"
  2255.  
  2256.  
  2257. HISTORY
  2258. --------
  2259. 1.9 :                                                                                          03/18/92
  2260. ΓÇó Handling of non-fatal errors
  2261. ΓÇó Added "ResolveAlias" param
  2262. ΓÇó FinderLock attribute is preserved
  2263.  
  2264. 1.8 :                                                                                          03/13/92
  2265. ΓÇó Fixed folder privileges bug
  2266.  
  2267. 1.7 :                                                                                          12/25/91
  2268. ΓÇó Fixed alias file bug under System 7.0.1
  2269. ΓÇó Copy now keeps owner and group of shared folders
  2270.  
  2271. 1.6 :                                                                                          11/22/91
  2272. ΓÇó Fixed destination volume freespace calculation
  2273.  
  2274. 1.5 :                                                                                          10/29/91
  2275. ΓÇó Modification/creation dates of files/folders are now preserved
  2276.  
  2277. 1.4 :                                                                                          08/04/91
  2278. ΓÇó Added support for System 7.0 alias files
  2279. ΓÇó General enhancement of the code
  2280. ΓÇó Added "=" param for online help
  2281. ΓÇó Added "=" param for online help
  2282.  
  2283. 1.3 : 
  2284. ΓÇó Fixed "directory not found" bug with AppleShare server.
  2285.  
  2286. 1.2 :
  2287. ΓÇó AppleShare folder privileges are now preserved by the copy
  2288. ΓÇó Added files param
  2289.  
  2290. 1.1 :
  2291. ΓÇó File attributes are now preserved by the copy
  2292.  
  2293.  
  2294. This stack also uses NameNewFile, SelectDir XFCNs, ┬⌐ Frederic RINALDI 1992.
  2295. </text>
  2296.     </content>
  2297.     <name></name>
  2298.     <script></script>
  2299. </card>
  2300.  
  2301.  
  2302. card_17032.xml
  2303. <?xml version="1.0" encoding="utf-8" ?>
  2304. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2305. <card>
  2306.     <id>17032</id>
  2307.     <filler1>0</filler1>
  2308.     <bitmap>BMAP_17217.pbm</bitmap>
  2309.     <cantDelete> <false /> </cantDelete>
  2310.     <showPict> <true /> </showPict>
  2311.     <dontSearch> <false /> </dontSearch>
  2312.     <owner>46925</owner>
  2313.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  2314.     <part>
  2315.         <id>1</id>
  2316.         <type>field</type>
  2317.         <visible> <true /> </visible>
  2318.         <dontWrap> <false /> </dontWrap>
  2319.         <dontSearch> <false /> </dontSearch>
  2320.         <sharedText> <false /> </sharedText>
  2321.         <fixedLineHeight> <true /> </fixedLineHeight>
  2322.         <autoTab> <false /> </autoTab>
  2323.         <lockText> <true /> </lockText>
  2324.         <rect>
  2325.             <left>69</left>
  2326.             <top>68</top>
  2327.             <right>434</right>
  2328.             <bottom>252</bottom>
  2329.         </rect>
  2330.         <style>scrolling</style>
  2331.         <autoSelect> <false /> </autoSelect>
  2332.         <showLines> <false /> </showLines>
  2333.         <wideMargins> <false /> </wideMargins>
  2334.         <multipleLines> <false /> </multipleLines>
  2335.         <reservedFamily> 0 </reservedFamily>
  2336.         <titleWidth>0</titleWidth>
  2337.         <icon>0</icon>
  2338.         <textAlign>left</textAlign>
  2339.         <font>Geneva</font>
  2340.         <textSize>9</textSize>
  2341.         <textStyle>plain</textStyle>
  2342.         <textHeight>12</textHeight>
  2343.         <name></name>
  2344.         <script></script>
  2345.     </part>
  2346.     <part>
  2347.         <id>22</id>
  2348.         <type>button</type>
  2349.         <visible> <false /> </visible>
  2350.         <reserved5> 0 </reserved5>
  2351.         <reserved4> 0 </reserved4>
  2352.         <reserved3> 0 </reserved3>
  2353.         <reserved2> 0 </reserved2>
  2354.         <reserved1> 0 </reserved1>
  2355.         <enabled> <true /> </enabled>
  2356.         <rect>
  2357.             <left>0</left>
  2358.             <top>326</top>
  2359.             <right>18</right>
  2360.             <bottom>342</bottom>
  2361.         </rect>
  2362.         <style>checkbox</style>
  2363.         <showName> <false /> </showName>
  2364.         <highlight> <false /> </highlight>
  2365.         <autoHighlight> <true /> </autoHighlight>
  2366.         <sharedHighlight> <true /> </sharedHighlight>
  2367.         <family>0</family>
  2368.         <titleWidth>0</titleWidth>
  2369.         <icon>0</icon>
  2370.         <textAlign>center</textAlign>
  2371.         <font>Geneva</font>
  2372.         <textSize>12</textSize>
  2373.         <textStyle>plain</textStyle>
  2374.         <name></name>
  2375.         <script></script>
  2376.     </part>
  2377.     <part>
  2378.         <id>25</id>
  2379.         <type>button</type>
  2380.         <visible> <true /> </visible>
  2381.         <reserved5> 0 </reserved5>
  2382.         <reserved4> 0 </reserved4>
  2383.         <reserved3> 0 </reserved3>
  2384.         <reserved2> 0 </reserved2>
  2385.         <reserved1> 0 </reserved1>
  2386.         <enabled> <true /> </enabled>
  2387.         <rect>
  2388.             <left>209</left>
  2389.             <top>278</top>
  2390.             <right>335</right>
  2391.             <bottom>318</bottom>
  2392.         </rect>
  2393.         <style>roundrect</style>
  2394.         <showName> <true /> </showName>
  2395.         <highlight> <false /> </highlight>
  2396.         <autoHighlight> <true /> </autoHighlight>
  2397.         <sharedHighlight> <true /> </sharedHighlight>
  2398.         <family>0</family>
  2399.         <titleWidth>0</titleWidth>
  2400.         <icon>0</icon>
  2401.         <textAlign>center</textAlign>
  2402.         <font>Geneva</font>
  2403.         <textSize>12</textSize>
  2404.         <textStyle>plain</textStyle>
  2405.         <name>CopyRes</name>
  2406.         <script>on mouseUp
  2407. get FilePath("STAK","Prov stack :")
  2408. if it is empty then exit mouseUp
  2409. put it into ProvFile
  2410. get FilePath("STAK","Dest stack :")
  2411. if it is empty then exit mouseUp
  2412. put it into DestFile
  2413. ask "Resource type :" with "XCMD"
  2414. if it is empty then exit mouseUp
  2415. put it into ResType
  2416. ask "Resource name or ID :" with "CopyRes"
  2417. if it is empty then exit mouseUp
  2418. put it into ResName
  2419. answer "Optionnal parameter :" with "R" or "I" or "None"
  2420. if it is "None"
  2421. then CopyRes ProvFile,DestFile,ResType,ResName
  2422. else CopyRes ProvFile,DestFile,ResType,ResName,it
  2423. get the Result
  2424. if first word of it is "Error"
  2425. then
  2426. beep
  2427. answer it
  2428. else answer "Copy done, result = ΓÇ£" & it & "ΓÇ¥"
  2429. end mouseUp
  2430. </script>
  2431.     </part>
  2432.     <content>
  2433.         <layer>card</layer>
  2434.         <id>1</id>
  2435.         <text>
  2436.                                            CopyRes 1.8 XCMD
  2437.  
  2438.                                           by Fr├⌐d├⌐ric RINALDI
  2439.  
  2440.  
  2441. DESCRIPTION
  2442. ------------
  2443.   CopyRes is a XCMD allowing to copy resources between two files. Unlike ResCopy, it doesn't simply replace existing resources with same name or ID without warning, and offers a wide range of error checking.
  2444.  
  2445.  
  2446. SYNTAX
  2447. -------
  2448.    CopyRes <prov file>,<dest file>,<res type>,<res name or ID>[,<I | R | K>]
  2449.  
  2450.  
  2451. PARAMETERS
  2452. ------------
  2453.    Prov and dest file can be name or full pathname. With a single name, the file is assumed to be in the same folder than the current stack. Using "*" for any of these parameters will refer to the current stack pathname.
  2454.  
  2455.    Res type must be a four char string, and is case sensitive.
  2456.  
  2457.    The resource to copy can be invoked by its name or its ID.
  2458.  
  2459.    Last parameter is optionnal, and can be any string beginning with "I", "R" or "K". Its allows to automatically renumber the copied resource, either Incremental or Random. Incremental will set an ID equal to the highest ID of the type plus one. Random will set any ID no already existing and over 1000. Using "K" (Krunch) will not ask what to do with existing resource having same name or ID and simply replace it.
  2460.  
  2461.    Using "!" and "?" parameter will return an online help (resp. copyright and syntax).
  2462.  
  2463.  
  2464. USING
  2465. -----
  2466.    In case of name or ID conflict, the XCMD will bring an ask dialog allowing to rename or renumber the resource to copy. Renumbering dialog proposes another non-existing ID. Clicking Cancel will abort the copy.
  2467.    If the same name or ID is kept, then a second answer dialog pops to get confirmation for replacing the previous resource. Clicking Yes replaces the resource, No returns to first dialog and Cancel aborts the copy.
  2468.    If the copy succeeds, The Result will return a two items string containing the name and ID of the copied resource.
  2469.  
  2470. If any error occurs, or the copy is aborted, the Result can return :
  2471.              "Error : Missing Parameter(s)"
  2472.              "Error : Param 5 must begin with R,I or K"
  2473.              "Error : Bad Resource Type"
  2474.              "Error : Same dest and prov file"
  2475.              "Error : Volume Not Found"
  2476.              "Error : File Not Found"
  2477.              "Error : Path Not Found"
  2478.              "Error : Unknown #xx"
  2479.              "Error : Resource not found"
  2480.              "Error : Copy failed"
  2481.              "Error : Copy aborted"
  2482.  
  2483. HISTORY
  2484. --------
  2485. 1.8 :
  2486. ΓÇó Added "K" param
  2487.  
  2488. 1.7 :
  2489. ΓÇó Changed DetachResource to HandtoHand to avoid errors with HC 2.0.
  2490.  
  2491. 1.6 :
  2492. ΓÇó code cleaned
  2493.  
  2494. ACKNOWLEDGEMENT
  2495. ------------------
  2496. This stack uses FilePath  XFCN, ┬⌐ 1898, 1990 Apple Computer, Inc.
  2497. </text>
  2498.     </content>
  2499.     <name>CopyRes 1.8*</name>
  2500.     <script>
  2501.  
  2502.  
  2503.  
  2504. on opencard
  2505. end opencard
  2506.  
  2507. on closeCard
  2508. end closeCard
  2509.  
  2510. </script>
  2511. </card>
  2512.  
  2513.  
  2514. card_8668.xml
  2515. <?xml version="1.0" encoding="utf-8" ?>
  2516. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2517. <card>
  2518.     <id>8668</id>
  2519.     <filler1>0</filler1>
  2520.     <bitmap>BMAP_8773.pbm</bitmap>
  2521.     <cantDelete> <false /> </cantDelete>
  2522.     <showPict> <true /> </showPict>
  2523.     <dontSearch> <false /> </dontSearch>
  2524.     <owner>46925</owner>
  2525.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  2526.     <part>
  2527.         <id>1</id>
  2528.         <type>field</type>
  2529.         <visible> <true /> </visible>
  2530.         <dontWrap> <false /> </dontWrap>
  2531.         <dontSearch> <false /> </dontSearch>
  2532.         <sharedText> <false /> </sharedText>
  2533.         <fixedLineHeight> <true /> </fixedLineHeight>
  2534.         <autoTab> <false /> </autoTab>
  2535.         <lockText> <true /> </lockText>
  2536.         <rect>
  2537.             <left>69</left>
  2538.             <top>68</top>
  2539.             <right>434</right>
  2540.             <bottom>252</bottom>
  2541.         </rect>
  2542.         <style>scrolling</style>
  2543.         <autoSelect> <false /> </autoSelect>
  2544.         <showLines> <false /> </showLines>
  2545.         <wideMargins> <false /> </wideMargins>
  2546.         <multipleLines> <false /> </multipleLines>
  2547.         <reservedFamily> 0 </reservedFamily>
  2548.         <titleWidth>0</titleWidth>
  2549.         <icon>0</icon>
  2550.         <textAlign>left</textAlign>
  2551.         <font>Geneva</font>
  2552.         <textSize>9</textSize>
  2553.         <textStyle>plain</textStyle>
  2554.         <textHeight>12</textHeight>
  2555.         <name></name>
  2556.         <script></script>
  2557.     </part>
  2558.     <part>
  2559.         <id>25</id>
  2560.         <type>button</type>
  2561.         <visible> <true /> </visible>
  2562.         <reserved5> 0 </reserved5>
  2563.         <reserved4> 0 </reserved4>
  2564.         <reserved3> 0 </reserved3>
  2565.         <reserved2> 0 </reserved2>
  2566.         <reserved1> 0 </reserved1>
  2567.         <enabled> <true /> </enabled>
  2568.         <rect>
  2569.             <left>201</left>
  2570.             <top>278</top>
  2571.             <right>346</right>
  2572.             <bottom>316</bottom>
  2573.         </rect>
  2574.         <style>roundrect</style>
  2575.         <showName> <true /> </showName>
  2576.         <highlight> <false /> </highlight>
  2577.         <autoHighlight> <true /> </autoHighlight>
  2578.         <sharedHighlight> <true /> </sharedHighlight>
  2579.         <family>0</family>
  2580.         <titleWidth>0</titleWidth>
  2581.         <icon>0</icon>
  2582.         <textAlign>center</textAlign>
  2583.         <font>Geneva</font>
  2584.         <textSize>12</textSize>
  2585.         <textStyle>plain</textStyle>
  2586.         <name>CreateFolder</name>
  2587.         <script>on mouseUp
  2588. ask "Folder path or name :"
  2589. if it Γëá empty
  2590. then
  2591. CreateFolder it
  2592. if the Result Γëá empty
  2593. then answer the Result
  2594. end if
  2595. end mouseUp
  2596. </script>
  2597.     </part>
  2598.     <content>
  2599.         <layer>card</layer>
  2600.         <id>1</id>
  2601.         <text>
  2602.                                            CreateFolder 1.2
  2603.  
  2604.                                         by Fr├⌐d├⌐ric RINALDI
  2605.  
  2606.  
  2607. DESCRIPTION
  2608. ------------
  2609.    CreateFolder is a XCMD allowing to create a new folder on a volume.
  2610.  
  2611.  
  2612. SYNTAX
  2613. -------
  2614.                                       CreateFolder <folder path>
  2615.  
  2616.  
  2617. PARAMETERS
  2618. ------------
  2619.    <folder path> can be a single name or whole pathname. If just a single name is supplied, the folder will be created in the same folder than the current stack.
  2620.  
  2621.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  2622.  
  2623.  
  2624. USING
  2625. -----
  2626.    If the creation is successfull, the Result will be empty. If an error occurs, the Result can return :
  2627.      "Error : Not a file"
  2628.      "Error : Not a folder"
  2629.      "Error : Alias file not supported"
  2630.      "Error : Volume not found"
  2631.      "Error : Bad Name"
  2632.      "Error : File not found"
  2633.      "Error : Folder not found"
  2634.      "Error : File is busy"
  2635.      "Error : I/O Error"
  2636.      "Error : Folder is full"
  2637.      "Error : Volume is locked"
  2638.      "Error : No resource fork"
  2639.      "Error : Duplicate file/folder name"
  2640.      "Error : Moving whole volume not allowed"
  2641.      "Error : Not an AppleShare volume"
  2642.      "Error : AppleShare insufficient privileges"
  2643.      "Error : Not a directory"
  2644.      "Error : Missing or empty parameter"
  2645.  
  2646.  
  2647. HISTORY
  2648. --------
  2649. 1.2 :                                                                                          06/18/91
  2650. ΓÇó Fixed a minor and rare bug
  2651.  
  2652. 1.1 :                                                                                          08/04/91
  2653. ΓÇó Added support for System 7.0 alias files
  2654. ΓÇó General enhancement of the code
  2655. ΓÇó Added "=" param for online help
  2656. </text>
  2657.     </content>
  2658.     <name></name>
  2659.     <script></script>
  2660. </card>
  2661.  
  2662.  
  2663. card_9004.xml
  2664. <?xml version="1.0" encoding="utf-8" ?>
  2665. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2666. <card>
  2667.     <id>9004</id>
  2668.     <filler1>0</filler1>
  2669.     <bitmap>BMAP_9382.pbm</bitmap>
  2670.     <cantDelete> <false /> </cantDelete>
  2671.     <showPict> <true /> </showPict>
  2672.     <dontSearch> <false /> </dontSearch>
  2673.     <owner>46925</owner>
  2674.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  2675.     <part>
  2676.         <id>1</id>
  2677.         <type>field</type>
  2678.         <visible> <true /> </visible>
  2679.         <dontWrap> <false /> </dontWrap>
  2680.         <dontSearch> <false /> </dontSearch>
  2681.         <sharedText> <false /> </sharedText>
  2682.         <fixedLineHeight> <true /> </fixedLineHeight>
  2683.         <autoTab> <false /> </autoTab>
  2684.         <lockText> <true /> </lockText>
  2685.         <rect>
  2686.             <left>69</left>
  2687.             <top>68</top>
  2688.             <right>434</right>
  2689.             <bottom>252</bottom>
  2690.         </rect>
  2691.         <style>scrolling</style>
  2692.         <autoSelect> <false /> </autoSelect>
  2693.         <showLines> <false /> </showLines>
  2694.         <wideMargins> <false /> </wideMargins>
  2695.         <multipleLines> <false /> </multipleLines>
  2696.         <reservedFamily> 0 </reservedFamily>
  2697.         <titleWidth>0</titleWidth>
  2698.         <icon>0</icon>
  2699.         <textAlign>left</textAlign>
  2700.         <font>Geneva</font>
  2701.         <textSize>9</textSize>
  2702.         <textStyle>plain</textStyle>
  2703.         <textHeight>12</textHeight>
  2704.         <name></name>
  2705.         <script></script>
  2706.     </part>
  2707.     <part>
  2708.         <id>5</id>
  2709.         <type>button</type>
  2710.         <visible> <true /> </visible>
  2711.         <reserved5> 0 </reserved5>
  2712.         <reserved4> 0 </reserved4>
  2713.         <reserved3> 0 </reserved3>
  2714.         <reserved2> 0 </reserved2>
  2715.         <reserved1> 0 </reserved1>
  2716.         <enabled> <true /> </enabled>
  2717.         <rect>
  2718.             <left>178</left>
  2719.             <top>279</top>
  2720.             <right>347</right>
  2721.             <bottom>309</bottom>
  2722.         </rect>
  2723.         <style>roundrect</style>
  2724.         <showName> <true /> </showName>
  2725.         <highlight> <false /> </highlight>
  2726.         <autoHighlight> <true /> </autoHighlight>
  2727.         <sharedHighlight> <true /> </sharedHighlight>
  2728.         <family>0</family>
  2729.         <titleWidth>0</titleWidth>
  2730.         <icon>0</icon>
  2731.         <textAlign>center</textAlign>
  2732.         <font>Geneva</font>
  2733.         <textSize>12</textSize>
  2734.         <textStyle>plain</textStyle>
  2735.         <name>CreateStack</name>
  2736.         <script>on mouseUp
  2737. ask "Stack name :"
  2738. if it Γëá empty
  2739. then
  2740. put it into SName
  2741. createStack SName
  2742. get the Result
  2743. if first word of it = "Error"
  2744. then answer it
  2745. else
  2746. if it is empty
  2747. then go stack SName
  2748. else go stack it
  2749. end if
  2750. end if
  2751. end mouseUp
  2752. </script>
  2753.     </part>
  2754.     <content>
  2755.         <layer>card</layer>
  2756.         <id>1</id>
  2757.         <text>
  2758.                                            CreateStack 1.1
  2759.  
  2760.                                         by Fr├⌐d├⌐ric RINALDI
  2761.  
  2762. DESCRIPTION
  2763.  
  2764.   CreateStack is a XCMD that allows to create a new Stack from within a script, without user intervention.
  2765.  
  2766.  
  2767. SYNTAX
  2768.  
  2769.   CreateStack <name or pathName>
  2770.  
  2771.  
  2772. PARAMETERS
  2773.  
  2774.   If you supply only a name, the stack will be created at HyperCard's hierarchical level on the disk.
  2775.  
  2776.   Help online is available : if you pass as first parameter :
  2777.   "!" : the Result returns the version info
  2778.   "?": the Result returns the syntax
  2779.  
  2780.  
  2781. USING
  2782.  
  2783.    If no error occured, the Result will be empty. Otherwise, it can contain :
  2784.  
  2785. "Error : Bad Parameter Number"
  2786. "Error : Resource STDT not found"
  2787. "Error : Bad File Name"
  2788. "Error : Path Not Found"
  2789. "Error : Volume Not Found"
  2790. "Error : Creation aborted"
  2791. "Error : Create Failed"
  2792. "Error : FSDelete failed"
  2793. "Error : FSOpen failed"
  2794. "Error : FSWrite failed"
  2795. "Error : FSClose failed"
  2796.  
  2797.   If a file with the same name already exists, the XCMD will ask if you want to replace it, or rename the stack to be created. If you choose to rename it, the the Result will return the created stack name.
  2798.   This XCMD needs an auxillary resource STDT named "CreateStack". You can renumber it, but avoid renaming it !
  2799. </text>
  2800.     </content>
  2801.     <name>CreateStack 1.1</name>
  2802.     <script>
  2803.  
  2804.  
  2805.  
  2806. on opencard
  2807. end opencard
  2808.  
  2809. on closeCard
  2810. end closeCard
  2811.  
  2812. </script>
  2813. </card>
  2814.  
  2815.  
  2816. card_9593.xml
  2817. <?xml version="1.0" encoding="utf-8" ?>
  2818. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2819. <card>
  2820.     <id>9593</id>
  2821.     <filler1>0</filler1>
  2822.     <bitmap>BMAP_9838.pbm</bitmap>
  2823.     <cantDelete> <false /> </cantDelete>
  2824.     <showPict> <true /> </showPict>
  2825.     <dontSearch> <false /> </dontSearch>
  2826.     <owner>46925</owner>
  2827.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  2828.     <part>
  2829.         <id>1</id>
  2830.         <type>field</type>
  2831.         <visible> <true /> </visible>
  2832.         <dontWrap> <false /> </dontWrap>
  2833.         <dontSearch> <false /> </dontSearch>
  2834.         <sharedText> <false /> </sharedText>
  2835.         <fixedLineHeight> <true /> </fixedLineHeight>
  2836.         <autoTab> <false /> </autoTab>
  2837.         <lockText> <false /> </lockText>
  2838.         <rect>
  2839.             <left>69</left>
  2840.             <top>68</top>
  2841.             <right>434</right>
  2842.             <bottom>252</bottom>
  2843.         </rect>
  2844.         <style>scrolling</style>
  2845.         <autoSelect> <false /> </autoSelect>
  2846.         <showLines> <false /> </showLines>
  2847.         <wideMargins> <false /> </wideMargins>
  2848.         <multipleLines> <false /> </multipleLines>
  2849.         <reservedFamily> 0 </reservedFamily>
  2850.         <titleWidth>0</titleWidth>
  2851.         <icon>0</icon>
  2852.         <textAlign>left</textAlign>
  2853.         <font>Geneva</font>
  2854.         <textSize>9</textSize>
  2855.         <textStyle>plain</textStyle>
  2856.         <textHeight>12</textHeight>
  2857.         <name></name>
  2858.         <script></script>
  2859.     </part>
  2860.     <part>
  2861.         <id>29</id>
  2862.         <type>button</type>
  2863.         <visible> <true /> </visible>
  2864.         <reserved5> 0 </reserved5>
  2865.         <reserved4> 0 </reserved4>
  2866.         <reserved3> 0 </reserved3>
  2867.         <reserved2> 0 </reserved2>
  2868.         <reserved1> 0 </reserved1>
  2869.         <enabled> <true /> </enabled>
  2870.         <rect>
  2871.             <left>174</left>
  2872.             <top>281</top>
  2873.             <right>343</right>
  2874.             <bottom>311</bottom>
  2875.         </rect>
  2876.         <style>roundrect</style>
  2877.         <showName> <true /> </showName>
  2878.         <highlight> <false /> </highlight>
  2879.         <autoHighlight> <true /> </autoHighlight>
  2880.         <sharedHighlight> <true /> </sharedHighlight>
  2881.         <family>0</family>
  2882.         <titleWidth>0</titleWidth>
  2883.         <icon>0</icon>
  2884.         <textAlign>center</textAlign>
  2885.         <font>Geneva</font>
  2886.         <textSize>12</textSize>
  2887.         <textStyle>plain</textStyle>
  2888.         <name>DateConverter</name>
  2889.         <script>on mouseUp
  2890. ask "Date/time to convert :" with the date & "," & the time
  2891. if it is empty then exit mouseUp
  2892. answer it & " -> " & DateConverter(it)
  2893.  
  2894. get the time
  2895. convert it to seconds
  2896. ask "Seconds to convert :" with it
  2897. if it is empty then exit mouseUp
  2898. answer it & " -> " & DateConverter(it)
  2899. end mouseUp
  2900. </script>
  2901.     </part>
  2902.     <content>
  2903.         <layer>card</layer>
  2904.         <id>1</id>
  2905.         <text>
  2906.  
  2907.                                            DateConverter 1.0
  2908.  
  2909.                                           by Fr├⌐d├⌐ric RINALDI
  2910.  
  2911.  
  2912. DESCRIPTION
  2913. ------------
  2914.   DateConverter allows to convert date/time to seconds and backwards.
  2915.  
  2916. SYNTAX
  2917. --------
  2918.                DateConverter(<date[,time[ AM|PM]]> | <seconds>)
  2919.  
  2920. PARAMETERS
  2921. ------------
  2922.    <date[,time[ AM|PM]]> is the date/time string. Since the XFCN is fully international, items order can differ in the date format. (ex for U.S.A. : "month/day/year"). Year can be 2 or 4 chars long.
  2923.    Time is optional, and can be input in 12 ou 24 hours format, regardless of the country (ex : HH:MM:SS). Minutes and seconds are also optional.
  2924.    Date and time must be separated by a colon in the string, leading zeros are not required.
  2925.  
  2926.    <seconds> is an integer, which corresponds the the number of seconds since January 1. 1904.
  2927.  
  2928.    Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
  2929.  
  2930. USING
  2931. -----
  2932.    Depending on the passed param (date/time or seconds), the XFCN will return the converted string (resp. seconds elapsed since January 1. 1904 and date/time string).
  2933.    The date/time output string will be formatted according to international setttings.
  2934.  
  2935. ERRORS
  2936. -------
  2937. If an error occurs, DateConverter can return :
  2938.      "Error : Incorrect date format"
  2939.      "Error : Incorrect time format"
  2940.      "Error : Couln't get INTL resource"
  2941.      "Error : Cannot handle date before 1/1/1904"
  2942.      "Error : Missing or empty parameter"
  2943. </text>
  2944.     </content>
  2945.     <name>DateConverter 1.0</name>
  2946.     <script>
  2947.  
  2948.  
  2949.  
  2950. on opencard
  2951. end opencard
  2952.  
  2953. on closeCard
  2954. end closeCard
  2955.  
  2956. </script>
  2957. </card>
  2958.  
  2959.  
  2960. card_10163.xml
  2961. <?xml version="1.0" encoding="utf-8" ?>
  2962. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2963. <card>
  2964.     <id>10163</id>
  2965.     <filler1>0</filler1>
  2966.     <bitmap>BMAP_10450.pbm</bitmap>
  2967.     <cantDelete> <false /> </cantDelete>
  2968.     <showPict> <true /> </showPict>
  2969.     <dontSearch> <false /> </dontSearch>
  2970.     <owner>46925</owner>
  2971.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  2972.     <part>
  2973.         <id>1</id>
  2974.         <type>field</type>
  2975.         <visible> <true /> </visible>
  2976.         <dontWrap> <false /> </dontWrap>
  2977.         <dontSearch> <false /> </dontSearch>
  2978.         <sharedText> <false /> </sharedText>
  2979.         <fixedLineHeight> <true /> </fixedLineHeight>
  2980.         <autoTab> <false /> </autoTab>
  2981.         <lockText> <true /> </lockText>
  2982.         <rect>
  2983.             <left>69</left>
  2984.             <top>68</top>
  2985.             <right>434</right>
  2986.             <bottom>252</bottom>
  2987.         </rect>
  2988.         <style>scrolling</style>
  2989.         <autoSelect> <false /> </autoSelect>
  2990.         <showLines> <false /> </showLines>
  2991.         <wideMargins> <false /> </wideMargins>
  2992.         <multipleLines> <false /> </multipleLines>
  2993.         <reservedFamily> 0 </reservedFamily>
  2994.         <titleWidth>0</titleWidth>
  2995.         <icon>0</icon>
  2996.         <textAlign>left</textAlign>
  2997.         <font>Geneva</font>
  2998.         <textSize>9</textSize>
  2999.         <textStyle>plain</textStyle>
  3000.         <textHeight>12</textHeight>
  3001.         <name></name>
  3002.         <script></script>
  3003.     </part>
  3004.     <part>
  3005.         <id>5</id>
  3006.         <type>button</type>
  3007.         <visible> <true /> </visible>
  3008.         <reserved5> 0 </reserved5>
  3009.         <reserved4> 0 </reserved4>
  3010.         <reserved3> 0 </reserved3>
  3011.         <reserved2> 0 </reserved2>
  3012.         <reserved1> 0 </reserved1>
  3013.         <enabled> <true /> </enabled>
  3014.         <rect>
  3015.             <left>174</left>
  3016.             <top>281</top>
  3017.             <right>343</right>
  3018.             <bottom>311</bottom>
  3019.         </rect>
  3020.         <style>roundrect</style>
  3021.         <showName> <true /> </showName>
  3022.         <highlight> <false /> </highlight>
  3023.         <autoHighlight> <true /> </autoHighlight>
  3024.         <sharedHighlight> <true /> </sharedHighlight>
  3025.         <family>0</family>
  3026.         <titleWidth>0</titleWidth>
  3027.         <icon>0</icon>
  3028.         <textAlign>center</textAlign>
  3029.         <font>Geneva</font>
  3030.         <textSize>12</textSize>
  3031.         <textStyle>plain</textStyle>
  3032.         <name>DocCreator</name>
  3033.         <script>on mouseUp
  3034. ask "Creator (4 chars) or full pathName :" with "WILD"
  3035. if it is empty then exit mouseUp
  3036. put it into Creator
  3037.  
  3038. ask "Volume : (Cancel for all)"
  3039. put it into Volume
  3040.  
  3041. answer "FullPath ?" with "True" or "False"
  3042.  
  3043. set cursor to watch
  3044.  
  3045. IF Volume Γëá empty
  3046. then put DocCreator(Creator,Volume,it) into cd fld 2
  3047. else put DocCreator(Creator,it) into cd fld 2
  3048.  
  3049. show cd fld 2
  3050. end mouseUp
  3051. </script>
  3052.     </part>
  3053.     <part>
  3054.         <id>18</id>
  3055.         <type>field</type>
  3056.         <visible> <false /> </visible>
  3057.         <dontWrap> <false /> </dontWrap>
  3058.         <dontSearch> <false /> </dontSearch>
  3059.         <sharedText> <false /> </sharedText>
  3060.         <fixedLineHeight> <true /> </fixedLineHeight>
  3061.         <autoTab> <false /> </autoTab>
  3062.         <lockText> <true /> </lockText>
  3063.         <rect>
  3064.             <left>69</left>
  3065.             <top>68</top>
  3066.             <right>434</right>
  3067.             <bottom>252</bottom>
  3068.         </rect>
  3069.         <style>scrolling</style>
  3070.         <autoSelect> <false /> </autoSelect>
  3071.         <showLines> <false /> </showLines>
  3072.         <wideMargins> <false /> </wideMargins>
  3073.         <multipleLines> <false /> </multipleLines>
  3074.         <reservedFamily> 0 </reservedFamily>
  3075.         <titleWidth>0</titleWidth>
  3076.         <icon>0</icon>
  3077.         <textAlign>left</textAlign>
  3078.         <font>Geneva</font>
  3079.         <textSize>9</textSize>
  3080.         <textStyle>plain</textStyle>
  3081.         <textHeight>12</textHeight>
  3082.         <name></name>
  3083.         <script>on mouseUp
  3084. hide me
  3085. end mouseUp</script>
  3086.     </part>
  3087.     <content>
  3088.         <layer>card</layer>
  3089.         <id>1</id>
  3090.         <text>
  3091.  
  3092.                                              DocCreator 1.2
  3093.  
  3094.                                           by Fr├⌐d├⌐ric RINALDI
  3095.  
  3096.  
  3097. DESCRIPTION
  3098. ------------
  3099.   DocCreator returns the application name for a given creator of file pathName.
  3100.  
  3101. SYNTAX
  3102. --------
  3103.      DocCreator(<file creator or pathName>[,<volume name>][,<find all>])
  3104.  
  3105. PARAMETERS
  3106. ------------
  3107.    <file creator or pathName> can be a creator (4 chars), a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  3108.  
  3109.    <volume name> is the name of volume to be explored. Default is all mounted volumes.
  3110.  
  3111.    <find all> is a boolean allowing to choose to get all or only the latest application. Default is FALSE.
  3112.  
  3113.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  3114.  
  3115.  
  3116. USING
  3117. -----
  3118.    DocCreator is able to use the System 7.0 enhanced desktop search features if active.
  3119.  
  3120.    The XFCN returns a return delimited list of all matching applications. Duplicates are removed from the list before returning.
  3121.  
  3122. If an error occurs, DocCreator can return :
  3123.      "Error : Not a file"
  3124.      "Error : Not a folder"
  3125.      "Error : Alias file not supported"
  3126.      "Error : Volume not found"
  3127.      "Error : Bad Name"
  3128.      "Error : File not found"
  3129.      "Error : Folder not found"
  3130.      "Error : File is busy"
  3131.      "Error : I/O Error"
  3132.      "Error : Folder is full"
  3133.      "Error : Volume is locked"
  3134.      "Error : No resource fork"
  3135.      "Error : Duplicate file/folder name"
  3136.      "Error : Moving whole volume not allowed"
  3137.      "Error : Not an AppleShare volume"
  3138.      "Error : AppleShare insufficient privileges"
  3139.      "Error : Out of memory"
  3140.      "Error : Missing parameter"
  3141.  
  3142.  
  3143. HISTORY
  3144. --------
  3145. 1.2 :                                                                                          08/04/91
  3146. ΓÇó Added support for System 7.0 alias files
  3147. ΓÇó General enhancement of the code
  3148. ΓÇó Added "=" param for online help
  3149. </text>
  3150.     </content>
  3151.     <name>DocCreator 1.2</name>
  3152.     <script>
  3153.  
  3154.  
  3155.  
  3156. on opencard
  3157. end opencard
  3158.  
  3159. on closeCard
  3160. hide cd fld 2
  3161. put empty into cd fld 2
  3162. end closeCard
  3163.  
  3164. </script>
  3165. </card>
  3166.  
  3167.  
  3168. card_10501.xml
  3169. <?xml version="1.0" encoding="utf-8" ?>
  3170. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3171. <card>
  3172.     <id>10501</id>
  3173.     <filler1>0</filler1>
  3174.     <bitmap>BMAP_10764.pbm</bitmap>
  3175.     <cantDelete> <false /> </cantDelete>
  3176.     <showPict> <true /> </showPict>
  3177.     <dontSearch> <false /> </dontSearch>
  3178.     <owner>46925</owner>
  3179.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  3180.     <part>
  3181.         <id>1</id>
  3182.         <type>field</type>
  3183.         <visible> <true /> </visible>
  3184.         <dontWrap> <false /> </dontWrap>
  3185.         <dontSearch> <false /> </dontSearch>
  3186.         <sharedText> <false /> </sharedText>
  3187.         <fixedLineHeight> <true /> </fixedLineHeight>
  3188.         <autoTab> <false /> </autoTab>
  3189.         <lockText> <true /> </lockText>
  3190.         <rect>
  3191.             <left>69</left>
  3192.             <top>68</top>
  3193.             <right>434</right>
  3194.             <bottom>252</bottom>
  3195.         </rect>
  3196.         <style>scrolling</style>
  3197.         <autoSelect> <false /> </autoSelect>
  3198.         <showLines> <false /> </showLines>
  3199.         <wideMargins> <false /> </wideMargins>
  3200.         <multipleLines> <false /> </multipleLines>
  3201.         <reservedFamily> 0 </reservedFamily>
  3202.         <titleWidth>0</titleWidth>
  3203.         <icon>0</icon>
  3204.         <textAlign>left</textAlign>
  3205.         <font>Geneva</font>
  3206.         <textSize>9</textSize>
  3207.         <textStyle>plain</textStyle>
  3208.         <textHeight>12</textHeight>
  3209.         <name></name>
  3210.         <script></script>
  3211.     </part>
  3212.     <part>
  3213.         <id>5</id>
  3214.         <type>button</type>
  3215.         <visible> <true /> </visible>
  3216.         <reserved5> 0 </reserved5>
  3217.         <reserved4> 0 </reserved4>
  3218.         <reserved3> 0 </reserved3>
  3219.         <reserved2> 0 </reserved2>
  3220.         <reserved1> 0 </reserved1>
  3221.         <enabled> <true /> </enabled>
  3222.         <rect>
  3223.             <left>174</left>
  3224.             <top>281</top>
  3225.             <right>343</right>
  3226.             <bottom>311</bottom>
  3227.         </rect>
  3228.         <style>roundrect</style>
  3229.         <showName> <true /> </showName>
  3230.         <highlight> <false /> </highlight>
  3231.         <autoHighlight> <true /> </autoHighlight>
  3232.         <sharedHighlight> <true /> </sharedHighlight>
  3233.         <family>0</family>
  3234.         <titleWidth>0</titleWidth>
  3235.         <icon>0</icon>
  3236.         <textAlign>center</textAlign>
  3237.         <font>Geneva</font>
  3238.         <textSize>12</textSize>
  3239.         <textStyle>plain</textStyle>
  3240.         <name>DocTypes</name>
  3241.         <script>on mouseUp
  3242. get FilePath("APPL", "Application to explore :")
  3243. if it Γëá empty
  3244. then
  3245. set cursor to watch
  3246. answer DocTypes(it)
  3247. end if
  3248. end mouseUp
  3249. </script>
  3250.     </part>
  3251.     <content>
  3252.         <layer>card</layer>
  3253.         <id>1</id>
  3254.         <text>
  3255.  
  3256.                                                DocTypes 1.5
  3257.  
  3258.                                           by Fr├⌐d├⌐ric RINALDI
  3259.  
  3260.  
  3261. DESCRIPTION
  3262. ------------
  3263.   DocTypes XFCN returns a list of all documents types that can be handled by an application.
  3264.  
  3265.  
  3266. SYNTAX
  3267. --------
  3268.                                       DocTypes(<appl path>)
  3269.  
  3270.  
  3271. PARAMETERS
  3272. ------------
  3273.  
  3274.    <appl path> can be a single name or whole pathname. If just a single name is supplied, the application is assumed to be in the same folder than the current stack.
  3275.  
  3276.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  3277.  
  3278.  
  3279. USING
  3280. -----
  3281.    The XFCN returns a comma separated list of available types.
  3282.  
  3283. If an error occurs, DocTypes can return :
  3284.      "Error : Not a file"
  3285.      "Error : Not a folder"
  3286.      "Error : Alias file not supported"
  3287.      "Error : Volume not found"
  3288.      "Error : Bad Name"
  3289.      "Error : File not found"
  3290.      "Error : Folder not found"
  3291.      "Error : File is busy"
  3292.      "Error : I/O Error"
  3293.      "Error : Folder is full"
  3294.      "Error : Volume is locked"
  3295.      "Error : No resource fork"
  3296.      "Error : Duplicate file/folder name"
  3297.      "Error : Moving whole volume not allowed"
  3298.      "Error : Not an AppleShare volume"
  3299.      "Error : AppleShare insufficient privileges"
  3300.      "Error : Missing pathname"
  3301.      "Error : Empty pathname"
  3302.      "Error : Could't find FREF resource"
  3303.      "Error : Couldn't build result"
  3304.  
  3305.  
  3306. HISTORY
  3307. -------
  3308. 1.5 :                                                                                          08/04/91
  3309. ΓÇó Added support for System 7.0 alias files
  3310. ΓÇó General enhancement of the code
  3311. ΓÇó Added "=" param for online help
  3312.  
  3313.  
  3314. This stack uses FilePath  XFCN, ┬⌐ 1898, 1990 Apple Computer, Inc.
  3315. </text>
  3316.     </content>
  3317.     <name>DocTypes 1.5</name>
  3318.     <script>
  3319.  
  3320.  
  3321.  
  3322. on opencard
  3323. end opencard
  3324.  
  3325. on closeCard
  3326. end closeCard
  3327.  
  3328. </script>
  3329. </card>
  3330.  
  3331.  
  3332. card_11120.xml
  3333. <?xml version="1.0" encoding="utf-8" ?>
  3334. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3335. <card>
  3336.     <id>11120</id>
  3337.     <filler1>0</filler1>
  3338.     <bitmap>BMAP_11311.pbm</bitmap>
  3339.     <cantDelete> <false /> </cantDelete>
  3340.     <showPict> <true /> </showPict>
  3341.     <dontSearch> <false /> </dontSearch>
  3342.     <owner>46925</owner>
  3343.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  3344.     <part>
  3345.         <id>1</id>
  3346.         <type>field</type>
  3347.         <visible> <true /> </visible>
  3348.         <dontWrap> <false /> </dontWrap>
  3349.         <dontSearch> <false /> </dontSearch>
  3350.         <sharedText> <false /> </sharedText>
  3351.         <fixedLineHeight> <true /> </fixedLineHeight>
  3352.         <autoTab> <false /> </autoTab>
  3353.         <lockText> <true /> </lockText>
  3354.         <rect>
  3355.             <left>69</left>
  3356.             <top>68</top>
  3357.             <right>434</right>
  3358.             <bottom>252</bottom>
  3359.         </rect>
  3360.         <style>scrolling</style>
  3361.         <autoSelect> <false /> </autoSelect>
  3362.         <showLines> <false /> </showLines>
  3363.         <wideMargins> <false /> </wideMargins>
  3364.         <multipleLines> <false /> </multipleLines>
  3365.         <reservedFamily> 0 </reservedFamily>
  3366.         <titleWidth>0</titleWidth>
  3367.         <icon>0</icon>
  3368.         <textAlign>left</textAlign>
  3369.         <font>Geneva</font>
  3370.         <textSize>9</textSize>
  3371.         <textStyle>plain</textStyle>
  3372.         <textHeight>12</textHeight>
  3373.         <name></name>
  3374.         <script></script>
  3375.     </part>
  3376.     <part>
  3377.         <id>5</id>
  3378.         <type>button</type>
  3379.         <visible> <true /> </visible>
  3380.         <reserved5> 0 </reserved5>
  3381.         <reserved4> 0 </reserved4>
  3382.         <reserved3> 0 </reserved3>
  3383.         <reserved2> 0 </reserved2>
  3384.         <reserved1> 0 </reserved1>
  3385.         <enabled> <true /> </enabled>
  3386.         <rect>
  3387.             <left>174</left>
  3388.             <top>281</top>
  3389.             <right>343</right>
  3390.             <bottom>311</bottom>
  3391.         </rect>
  3392.         <style>roundrect</style>
  3393.         <showName> <true /> </showName>
  3394.         <highlight> <false /> </highlight>
  3395.         <autoHighlight> <true /> </autoHighlight>
  3396.         <sharedHighlight> <true /> </sharedHighlight>
  3397.         <family>0</family>
  3398.         <titleWidth>0</titleWidth>
  3399.         <icon>0</icon>
  3400.         <textAlign>center</textAlign>
  3401.         <font>Chicago</font>
  3402.         <textSize>12</textSize>
  3403.         <textStyle>plain</textStyle>
  3404.         <name>DoMenu</name>
  3405.         <script>on mouseUp
  3406. ls
  3407. select last line of cd fld 1
  3408. doMenu "Copy text"
  3409. show cd fld 2
  3410. put "try pasting..."
  3411. uls
  3412. select after text of cd fld 2
  3413. end mouseUp
  3414. </script>
  3415.     </part>
  3416.     <part>
  3417.         <id>16</id>
  3418.         <type>field</type>
  3419.         <visible> <false /> </visible>
  3420.         <dontWrap> <false /> </dontWrap>
  3421.         <dontSearch> <false /> </dontSearch>
  3422.         <sharedText> <false /> </sharedText>
  3423.         <fixedLineHeight> <false /> </fixedLineHeight>
  3424.         <autoTab> <false /> </autoTab>
  3425.         <lockText> <false /> </lockText>
  3426.         <rect>
  3427.             <left>97</left>
  3428.             <top>98</top>
  3429.             <right>402</right>
  3430.             <bottom>222</bottom>
  3431.         </rect>
  3432.         <style>shadow</style>
  3433.         <autoSelect> <false /> </autoSelect>
  3434.         <showLines> <false /> </showLines>
  3435.         <wideMargins> <true /> </wideMargins>
  3436.         <multipleLines> <false /> </multipleLines>
  3437.         <reservedFamily> 0 </reservedFamily>
  3438.         <titleWidth>0</titleWidth>
  3439.         <icon>0</icon>
  3440.         <textAlign>left</textAlign>
  3441.         <font>Geneva</font>
  3442.         <textSize>12</textSize>
  3443.         <textStyle>plain</textStyle>
  3444.         <textHeight>16</textHeight>
  3445.         <name></name>
  3446.         <script></script>
  3447.     </part>
  3448.     <content>
  3449.         <layer>card</layer>
  3450.         <id>1</id>
  3451.         <text>
  3452.  
  3453.                                                 DoMenu 1.0
  3454.  
  3455.                                           by Fr├⌐d├⌐ric RINALDI
  3456.  
  3457.  
  3458. DESCRIPTION
  3459. ------------
  3460.   DoMenu XCMD enhances HyperCard 2.0 by allowing to choose to paste text only or styled text.
  3461.  
  3462.  
  3463. SYNTAX
  3464. --------
  3465.                                         doMenu <item name>
  3466.  
  3467. PARAMETERS
  3468. ------------
  3469.    Item name is the name of the menu item to call.
  3470.  
  3471. USING
  3472. -----
  3473.   Just copy DoMenu XCMD in your Home or start using this stack. All doMenu messages sent thru the hierarchy (by script of pulling down menu) will be trapped by the XCMD, acting as a filter for "Paste Text" item name.
  3474.   So, regular pasting will paste unstyled text in the destination field, while holding simultaneously the shift key down when pasting will paste the styled text. Since most pasting doesn't need style, just install and forget it.
  3475. </text>
  3476.     </content>
  3477.     <name>DoMenu 1.0</name>
  3478.     <script>
  3479.  
  3480.  
  3481.  
  3482. on opencard
  3483. end opencard
  3484.  
  3485. on closeCard
  3486. hide cd fld 2
  3487. put empty into cd fld 2
  3488. end closeCard
  3489.  
  3490. </script>
  3491. </card>
  3492.  
  3493.  
  3494. card_11622.xml
  3495. <?xml version="1.0" encoding="utf-8" ?>
  3496. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3497. <card>
  3498.     <id>11622</id>
  3499.     <filler1>0</filler1>
  3500.     <bitmap>BMAP_11839.pbm</bitmap>
  3501.     <cantDelete> <false /> </cantDelete>
  3502.     <showPict> <true /> </showPict>
  3503.     <dontSearch> <false /> </dontSearch>
  3504.     <owner>46925</owner>
  3505.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  3506.     <part>
  3507.         <id>1</id>
  3508.         <type>field</type>
  3509.         <visible> <true /> </visible>
  3510.         <dontWrap> <false /> </dontWrap>
  3511.         <dontSearch> <false /> </dontSearch>
  3512.         <sharedText> <false /> </sharedText>
  3513.         <fixedLineHeight> <true /> </fixedLineHeight>
  3514.         <autoTab> <false /> </autoTab>
  3515.         <lockText> <true /> </lockText>
  3516.         <rect>
  3517.             <left>69</left>
  3518.             <top>68</top>
  3519.             <right>434</right>
  3520.             <bottom>252</bottom>
  3521.         </rect>
  3522.         <style>scrolling</style>
  3523.         <autoSelect> <false /> </autoSelect>
  3524.         <showLines> <false /> </showLines>
  3525.         <wideMargins> <false /> </wideMargins>
  3526.         <multipleLines> <false /> </multipleLines>
  3527.         <reservedFamily> 0 </reservedFamily>
  3528.         <titleWidth>0</titleWidth>
  3529.         <icon>0</icon>
  3530.         <textAlign>left</textAlign>
  3531.         <font>Geneva</font>
  3532.         <textSize>9</textSize>
  3533.         <textStyle>plain</textStyle>
  3534.         <textHeight>12</textHeight>
  3535.         <name></name>
  3536.         <script></script>
  3537.     </part>
  3538.     <part>
  3539.         <id>25</id>
  3540.         <type>button</type>
  3541.         <visible> <true /> </visible>
  3542.         <reserved5> 0 </reserved5>
  3543.         <reserved4> 0 </reserved4>
  3544.         <reserved3> 0 </reserved3>
  3545.         <reserved2> 0 </reserved2>
  3546.         <reserved1> 0 </reserved1>
  3547.         <enabled> <true /> </enabled>
  3548.         <rect>
  3549.             <left>201</left>
  3550.             <top>278</top>
  3551.             <right>346</right>
  3552.             <bottom>316</bottom>
  3553.         </rect>
  3554.         <style>roundrect</style>
  3555.         <showName> <true /> </showName>
  3556.         <highlight> <false /> </highlight>
  3557.         <autoHighlight> <true /> </autoHighlight>
  3558.         <sharedHighlight> <true /> </sharedHighlight>
  3559.         <family>0</family>
  3560.         <titleWidth>0</titleWidth>
  3561.         <icon>0</icon>
  3562.         <textAlign>center</textAlign>
  3563.         <font>Geneva</font>
  3564.         <textSize>12</textSize>
  3565.         <textStyle>plain</textStyle>
  3566.         <name>EraseFile</name>
  3567.         <script>on mouseUp
  3568. get FilePath(empty,"File to delete :")
  3569. if it Γëá empty
  3570. then
  3571. EraseFile it
  3572. get the Result
  3573. if it Γëá empty
  3574. then
  3575. beep
  3576. answer it
  3577. end if
  3578. end if
  3579. end mouseUp
  3580. </script>
  3581.     </part>
  3582.     <content>
  3583.         <layer>card</layer>
  3584.         <id>1</id>
  3585.         <text>
  3586.                                                EraseFile 1.1
  3587.  
  3588.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  3589.  
  3590.  
  3591. DESCRIPTION
  3592. ------------
  3593.   EraseFile is a XCMD allowing to delete a file on a volume.
  3594.  
  3595.  
  3596. SYNTAX
  3597. -------
  3598.                   EraseFile <file path|name>[,"DontResolveAlias"]
  3599.  
  3600.  
  3601. PARAMETERS
  3602. ------------
  3603.    <file path|name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  3604.  
  3605.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  3606.  
  3607.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  3608.  
  3609.  
  3610. USING
  3611. -----
  3612.    The Result will be empty if the file has been deleted. If an error occurs, it can contain :
  3613.  
  3614.      "Error : Not a file"
  3615.      "Error : Not a folder"
  3616.      "Error : Alias file not supported"
  3617.      "Error : Volume not found"
  3618.      "Error : Bad Name"
  3619.      "Error : File not found"
  3620.      "Error : Folder not found"
  3621.      "Error : File is busy"
  3622.      "Error : I/O Error"
  3623.      "Error : Folder is full"
  3624.      "Error : Volume is locked"
  3625.      "Error : No resource fork"
  3626.      "Error : Duplicate file/folder name"
  3627.      "Error : Moving whole volume not allowed"
  3628.      "Error : Not an AppleShare volume"
  3629.      "Error : AppleShare insufficient privileges"
  3630.      "Error : Missing or empty parameter(s)"
  3631.      "Error : Second param can only be ΓÇ£DontResolveAliasΓÇ¥"
  3632.  
  3633.  
  3634. HISTORY
  3635. --------
  3636. 1.1 :                                                                                          08/04/91
  3637. ΓÇó Added support for System 7.0 alias files
  3638. ΓÇó General enhancement of the code
  3639. ΓÇó Added "DontResolveAlias" parameter
  3640. ΓÇó Added "=" param for online help
  3641.  
  3642.  
  3643. This stack uses FilePath  XFCN, ┬⌐ 1898, 1990 Apple Computer, Inc.
  3644. </text>
  3645.     </content>
  3646.     <name>EraseFile 1.1</name>
  3647.     <script>
  3648.  
  3649.  
  3650.  
  3651. on opencard
  3652. end opencard
  3653.  
  3654. on closeCard
  3655. end closeCard
  3656.  
  3657. </script>
  3658. </card>
  3659.  
  3660.  
  3661. card_12229.xml
  3662. <?xml version="1.0" encoding="utf-8" ?>
  3663. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3664. <card>
  3665.     <id>12229</id>
  3666.     <filler1>0</filler1>
  3667.     <bitmap>BMAP_12504.pbm</bitmap>
  3668.     <cantDelete> <false /> </cantDelete>
  3669.     <showPict> <true /> </showPict>
  3670.     <dontSearch> <false /> </dontSearch>
  3671.     <owner>46925</owner>
  3672.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  3673.     <part>
  3674.         <id>1</id>
  3675.         <type>field</type>
  3676.         <visible> <true /> </visible>
  3677.         <dontWrap> <false /> </dontWrap>
  3678.         <dontSearch> <false /> </dontSearch>
  3679.         <sharedText> <false /> </sharedText>
  3680.         <fixedLineHeight> <true /> </fixedLineHeight>
  3681.         <autoTab> <false /> </autoTab>
  3682.         <lockText> <true /> </lockText>
  3683.         <rect>
  3684.             <left>69</left>
  3685.             <top>68</top>
  3686.             <right>434</right>
  3687.             <bottom>252</bottom>
  3688.         </rect>
  3689.         <style>scrolling</style>
  3690.         <autoSelect> <false /> </autoSelect>
  3691.         <showLines> <false /> </showLines>
  3692.         <wideMargins> <false /> </wideMargins>
  3693.         <multipleLines> <false /> </multipleLines>
  3694.         <reservedFamily> 0 </reservedFamily>
  3695.         <titleWidth>0</titleWidth>
  3696.         <icon>0</icon>
  3697.         <textAlign>left</textAlign>
  3698.         <font>Geneva</font>
  3699.         <textSize>9</textSize>
  3700.         <textStyle>plain</textStyle>
  3701.         <textHeight>12</textHeight>
  3702.         <name></name>
  3703.         <script></script>
  3704.     </part>
  3705.     <part>
  3706.         <id>5</id>
  3707.         <type>button</type>
  3708.         <visible> <true /> </visible>
  3709.         <reserved5> 0 </reserved5>
  3710.         <reserved4> 0 </reserved4>
  3711.         <reserved3> 0 </reserved3>
  3712.         <reserved2> 0 </reserved2>
  3713.         <reserved1> 0 </reserved1>
  3714.         <enabled> <true /> </enabled>
  3715.         <rect>
  3716.             <left>174</left>
  3717.             <top>281</top>
  3718.             <right>343</right>
  3719.             <bottom>311</bottom>
  3720.         </rect>
  3721.         <style>roundrect</style>
  3722.         <showName> <true /> </showName>
  3723.         <highlight> <false /> </highlight>
  3724.         <autoHighlight> <true /> </autoHighlight>
  3725.         <sharedHighlight> <true /> </sharedHighlight>
  3726.         <family>0</family>
  3727.         <titleWidth>0</titleWidth>
  3728.         <icon>0</icon>
  3729.         <textAlign>center</textAlign>
  3730.         <font>Geneva</font>
  3731.         <textSize>12</textSize>
  3732.         <textStyle>plain</textStyle>
  3733.         <name>ExtractItems</name>
  3734.         <script>on mouseUp
  3735. repeat with i=2 to 4
  3736. show cd fld i
  3737. end repeat
  3738. ask "Item(s) to extract : (x[ΓǪ,y])" with "2,4"
  3739. if it Γëá empty
  3740. then
  3741. do "get ExtractItems(cd fld 3," & it & ")"
  3742. if first word of it is "Error"
  3743. then
  3744. beep
  3745. answer it
  3746. else put it into cd fld 4
  3747. end if
  3748. end mouseUp
  3749. </script>
  3750.     </part>
  3751.     <part>
  3752.         <id>16</id>
  3753.         <type>field</type>
  3754.         <visible> <false /> </visible>
  3755.         <dontWrap> <false /> </dontWrap>
  3756.         <dontSearch> <false /> </dontSearch>
  3757.         <sharedText> <false /> </sharedText>
  3758.         <fixedLineHeight> <true /> </fixedLineHeight>
  3759.         <autoTab> <false /> </autoTab>
  3760.         <lockText> <true /> </lockText>
  3761.         <rect>
  3762.             <left>85</left>
  3763.             <top>53</top>
  3764.             <right>434</right>
  3765.             <bottom>277</bottom>
  3766.         </rect>
  3767.         <style>shadow</style>
  3768.         <autoSelect> <false /> </autoSelect>
  3769.         <showLines> <false /> </showLines>
  3770.         <wideMargins> <true /> </wideMargins>
  3771.         <multipleLines> <false /> </multipleLines>
  3772.         <reservedFamily> 0 </reservedFamily>
  3773.         <titleWidth>0</titleWidth>
  3774.         <icon>0</icon>
  3775.         <textAlign>left</textAlign>
  3776.         <font>Geneva</font>
  3777.         <textSize>12</textSize>
  3778.         <textStyle>plain</textStyle>
  3779.         <textHeight>16</textHeight>
  3780.         <name></name>
  3781.         <script>on mouseUp
  3782. HideAll
  3783. end mouseUp</script>
  3784.     </part>
  3785.     <part>
  3786.         <id>17</id>
  3787.         <type>field</type>
  3788.         <visible> <false /> </visible>
  3789.         <dontWrap> <false /> </dontWrap>
  3790.         <dontSearch> <false /> </dontSearch>
  3791.         <sharedText> <false /> </sharedText>
  3792.         <fixedLineHeight> <true /> </fixedLineHeight>
  3793.         <autoTab> <false /> </autoTab>
  3794.         <lockText> <false /> </lockText>
  3795.         <rect>
  3796.             <left>102</left>
  3797.             <top>79</top>
  3798.             <right>252</right>
  3799.             <bottom>264</bottom>
  3800.         </rect>
  3801.         <style>scrolling</style>
  3802.         <autoSelect> <false /> </autoSelect>
  3803.         <showLines> <false /> </showLines>
  3804.         <wideMargins> <false /> </wideMargins>
  3805.         <multipleLines> <false /> </multipleLines>
  3806.         <reservedFamily> 0 </reservedFamily>
  3807.         <titleWidth>0</titleWidth>
  3808.         <icon>0</icon>
  3809.         <textAlign>left</textAlign>
  3810.         <font>Geneva</font>
  3811.         <textSize>9</textSize>
  3812.         <textStyle>plain</textStyle>
  3813.         <textHeight>12</textHeight>
  3814.         <name></name>
  3815.         <script></script>
  3816.     </part>
  3817.     <part>
  3818.         <id>18</id>
  3819.         <type>field</type>
  3820.         <visible> <false /> </visible>
  3821.         <dontWrap> <false /> </dontWrap>
  3822.         <dontSearch> <false /> </dontSearch>
  3823.         <sharedText> <false /> </sharedText>
  3824.         <fixedLineHeight> <true /> </fixedLineHeight>
  3825.         <autoTab> <false /> </autoTab>
  3826.         <lockText> <true /> </lockText>
  3827.         <rect>
  3828.             <left>265</left>
  3829.             <top>79</top>
  3830.             <right>415</right>
  3831.             <bottom>264</bottom>
  3832.         </rect>
  3833.         <style>scrolling</style>
  3834.         <autoSelect> <false /> </autoSelect>
  3835.         <showLines> <false /> </showLines>
  3836.         <wideMargins> <false /> </wideMargins>
  3837.         <multipleLines> <false /> </multipleLines>
  3838.         <reservedFamily> 0 </reservedFamily>
  3839.         <titleWidth>0</titleWidth>
  3840.         <icon>0</icon>
  3841.         <textAlign>left</textAlign>
  3842.         <font>Geneva</font>
  3843.         <textSize>9</textSize>
  3844.         <textStyle>plain</textStyle>
  3845.         <textHeight>12</textHeight>
  3846.         <name></name>
  3847.         <script></script>
  3848.     </part>
  3849.     <content>
  3850.         <layer>card</layer>
  3851.         <id>1</id>
  3852.         <text>
  3853.                                             ExtractItems 1.4
  3854.  
  3855.                                           by Fr├⌐d├⌐ric RINALDI
  3856.  
  3857.  
  3858. DESCRIPTION
  3859. ------------
  3860.   ExtractItems XFCN extracts one or more items from a list.
  3861.  
  3862.  
  3863. SYNTAX
  3864. --------
  3865.     ExtractItems(<text>,<item nb>[ΓǪ<item nb>][,<item sep>[,<line sep>]])
  3866.  
  3867.  
  3868. PARAMETERS
  3869. ------------
  3870.    <Text> is the original list of many lines of one or more items.
  3871.  
  3872.    <Item Nb> is a positive non zero integer giving the item number(s) to extract from the text.
  3873.  
  3874.    <item sep> and <line sep> are both a single char defining respectively the item and line separators. Default is comma fior itemSep (or the current value of the itemDelimitert property under HC 2.1), return for lineSep.
  3875.  
  3876.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  3877.  
  3878. USING
  3879. -----
  3880.    The XFCN returns the extracted list.
  3881.  
  3882. If an error occurs, ExtractItems can return :
  3883.  
  3884.      "Error : Out of memory"
  3885.      "Error : Missing parameter(s)"
  3886.      "Error : Bad item number #x"
  3887.  
  3888.  
  3889. HISTORY
  3890. -------
  3891. 1.4 :                                                                                          05/17/92
  3892. ΓÇó Fixed again itemDelimiter handling
  3893.  
  3894. 1.3 :                                                                                          04/27/92
  3895. ΓÇó Fixed itemDelimiter/HC 2.0v2 bug
  3896.  
  3897. 1.2 :                                                                                          03/13/92
  3898. ΓÇó Added LineSep and ItemSep params
  3899. </text>
  3900.     </content>
  3901.     <content>
  3902.         <layer>card</layer>
  3903.         <id>16</id>
  3904.         <text>             Original                            Extracted</text>
  3905.     </content>
  3906.     <content>
  3907.         <layer>card</layer>
  3908.         <id>17</id>
  3909.         <text>1,2,3,4,5
  3910. toto,titi,tata,tete
  3911.  
  3912. 1,2,,,6
  3913. toto,titi,tata,tete
  3914. 1,2,3,4,5
  3915. toto,titi,tata,tete
  3916. 1,2,3,4,5
  3917. toto,titi,tata,tete
  3918. 1,2,3,4,5
  3919. toto,titi,tata,tete
  3920. 1,2,3,4,5
  3921. toto,titi,tata,tete
  3922. 1,2,3,4,5
  3923. toto,titi,tata,tete
  3924. </text>
  3925.     </content>
  3926.     <name></name>
  3927.     <script></script>
  3928. </card>
  3929.  
  3930.  
  3931. card_3055.xml
  3932. <?xml version="1.0" encoding="utf-8" ?>
  3933. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  3934. <card>
  3935.     <id>3055</id>
  3936.     <filler1>0</filler1>
  3937.     <bitmap>BMAP_2062.pbm</bitmap>
  3938.     <cantDelete> <false /> </cantDelete>
  3939.     <showPict> <true /> </showPict>
  3940.     <dontSearch> <false /> </dontSearch>
  3941.     <owner>46925</owner>
  3942.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  3943.     <part>
  3944.         <id>1</id>
  3945.         <type>field</type>
  3946.         <visible> <true /> </visible>
  3947.         <dontWrap> <false /> </dontWrap>
  3948.         <dontSearch> <false /> </dontSearch>
  3949.         <sharedText> <false /> </sharedText>
  3950.         <fixedLineHeight> <true /> </fixedLineHeight>
  3951.         <autoTab> <false /> </autoTab>
  3952.         <lockText> <true /> </lockText>
  3953.         <rect>
  3954.             <left>69</left>
  3955.             <top>68</top>
  3956.             <right>434</right>
  3957.             <bottom>252</bottom>
  3958.         </rect>
  3959.         <style>scrolling</style>
  3960.         <autoSelect> <false /> </autoSelect>
  3961.         <showLines> <false /> </showLines>
  3962.         <wideMargins> <false /> </wideMargins>
  3963.         <multipleLines> <false /> </multipleLines>
  3964.         <reservedFamily> 0 </reservedFamily>
  3965.         <titleWidth>0</titleWidth>
  3966.         <icon>0</icon>
  3967.         <textAlign>left</textAlign>
  3968.         <font>Geneva</font>
  3969.         <textSize>9</textSize>
  3970.         <textStyle>plain</textStyle>
  3971.         <textHeight>12</textHeight>
  3972.         <name></name>
  3973.         <script></script>
  3974.     </part>
  3975.     <part>
  3976.         <id>25</id>
  3977.         <type>button</type>
  3978.         <visible> <true /> </visible>
  3979.         <reserved5> 0 </reserved5>
  3980.         <reserved4> 0 </reserved4>
  3981.         <reserved3> 0 </reserved3>
  3982.         <reserved2> 0 </reserved2>
  3983.         <reserved1> 0 </reserved1>
  3984.         <enabled> <true /> </enabled>
  3985.         <rect>
  3986.             <left>201</left>
  3987.             <top>278</top>
  3988.             <right>346</right>
  3989.             <bottom>316</bottom>
  3990.         </rect>
  3991.         <style>roundrect</style>
  3992.         <showName> <true /> </showName>
  3993.         <highlight> <false /> </highlight>
  3994.         <autoHighlight> <true /> </autoHighlight>
  3995.         <sharedHighlight> <true /> </sharedHighlight>
  3996.         <family>0</family>
  3997.         <titleWidth>0</titleWidth>
  3998.         <icon>0</icon>
  3999.         <textAlign>center</textAlign>
  4000.         <font>Geneva</font>
  4001.         <textSize>12</textSize>
  4002.         <textStyle>plain</textStyle>
  4003.         <name>FileCopy</name>
  4004.         <script>on mouseUp
  4005. get FilePath(empty,"Select File to copy :")
  4006. if it Γëá empty
  4007. then
  4008. put it into ProvFile
  4009. put NewFileName("Select destination & name :","New File")┬¼
  4010. into DestFile
  4011. if DestFile Γëá empty
  4012. then
  4013. set cursor to watch
  4014. put "Copying File..."
  4015. FileCopy ProvFile,DestFile
  4016. get the Result
  4017. put empty
  4018. if it Γëá empty
  4019. then answer it
  4020. end if
  4021. end if
  4022. end mouseUp
  4023. </script>
  4024.     </part>
  4025.     <content>
  4026.         <layer>card</layer>
  4027.         <id>1</id>
  4028.         <text>
  4029.                                                FileCopy 2.0
  4030.  
  4031.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  4032.  
  4033.  
  4034. DESCRIPTION
  4035. ------------
  4036.   FileCopy is a XCMD allowing to copy any file between two volumes or directories.
  4037.  
  4038.  
  4039. SYNTAX
  4040. -------
  4041.           FileCopy <file path, name or pathname> [,<dest path or name>]
  4042.                         [,<replace>][,"DontResolveAlias"]
  4043.  
  4044.  
  4045. PARAMETERS
  4046. ------------
  4047.    <file path, name or pathname> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  4048.  
  4049.    <dest path or name> is optional. If not supplied, the file will be copied in the same folder as "Copy of...". If a single name is passed, the copy of the file will take that new name in the same folder. If the second param end with colon, the file will be copied in the designed folder and will keep its original name. Finally, a whole pathname can be provided to define both dest. directory and new file name.
  4050.  
  4051.    <replace> is a boolean allowing to automatically replace any existing file. Default is FALSE.
  4052.  
  4053.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  4054.  
  4055.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  4056.  
  4057.  
  4058. USING
  4059. -----
  4060.    If the copy is successfull, the Result will contain the full pathname of the destination file. If an error occurs, the Result can return :
  4061.  
  4062.      "Error : Not a file"
  4063.      "Error : Not a folder"
  4064.      "Error : Alias file not supported"
  4065.      "Error : Volume not found"
  4066.      "Error : Bad Name"
  4067.      "Error : File not found"
  4068.      "Error : Folder not found"
  4069.      "Error : File is busy"
  4070.      "Error : I/O Error"
  4071.      "Error : Volume is full"
  4072.      "Error : Volume is locked"
  4073.      "Error : No resource fork"
  4074.      "Error : Duplicate file/folder name"
  4075.      "Error : Moving whole volume not allowed"
  4076.      "Error : Not an AppleShare volume"
  4077.      "Error : AppleShare insufficient privileges"
  4078.      "Error : No more disk space"
  4079.      "Error : Missing or empty parameter(s)"
  4080.      "Error : Couln't create copy buffer"
  4081.  
  4082.  
  4083. HISTORY
  4084. -------
  4085. 2.0 :                                                                                          06/19/92
  4086. ΓÇó Enhanced to allow copy in an AppleShare drop-folder
  4087.  
  4088. 1.9 :                                                                                          03/13/92
  4089. ΓÇó Removed forgotten DebugStr (grin !)
  4090.  
  4091. 1.8 :                                                                                          03/07/92
  4092. ΓÇó Enhanced destination param parser
  4093.  
  4094. 1.7 :                                                                                          12/25/91
  4095. ΓÇó Fixed alias file bug under System 7.0.1
  4096.  
  4097. 1.6 :                                                                                          11/22/91
  4098. ΓÇó Fixed destination volume freespace calculation
  4099.  
  4100. 1.5 :                                                                                          10/29/91
  4101. ΓÇó Copied file now preserves modification date.
  4102.  
  4103. 1.4 :                                                                                          10/28/91
  4104. ΓÇó Copied file now preserves creation date.
  4105.  
  4106. 1.3 :                                                                                          08/04/91
  4107. ΓÇó Added support for System 7.0 alias files
  4108. ΓÇó General enhancement of the code
  4109. ΓÇó Added "DontResolveAlias" parameter
  4110. ΓÇó Added "=" param for online help
  4111.  
  4112. 1.2 : 
  4113. ΓÇó Keeps previous file attributes (dates)
  4114.  
  4115. 1.1 : 
  4116. ΓÇó Replace param added to provide automatic replacement of previous file with a same name.
  4117.  
  4118.  
  4119.  
  4120. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc) and NewFileName XFCN (┬⌐ Andrew GILMARTIN).
  4121. </text>
  4122.     </content>
  4123.     <name></name>
  4124.     <script></script>
  4125. </card>
  4126.  
  4127.  
  4128. card_13256.xml
  4129. <?xml version="1.0" encoding="utf-8" ?>
  4130. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4131. <card>
  4132.     <id>13256</id>
  4133.     <filler1>0</filler1>
  4134.     <bitmap>BMAP_13486.pbm</bitmap>
  4135.     <cantDelete> <false /> </cantDelete>
  4136.     <showPict> <true /> </showPict>
  4137.     <dontSearch> <false /> </dontSearch>
  4138.     <owner>46925</owner>
  4139.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  4140.     <part>
  4141.         <id>1</id>
  4142.         <type>field</type>
  4143.         <visible> <true /> </visible>
  4144.         <dontWrap> <false /> </dontWrap>
  4145.         <dontSearch> <false /> </dontSearch>
  4146.         <sharedText> <false /> </sharedText>
  4147.         <fixedLineHeight> <true /> </fixedLineHeight>
  4148.         <autoTab> <false /> </autoTab>
  4149.         <lockText> <true /> </lockText>
  4150.         <rect>
  4151.             <left>69</left>
  4152.             <top>68</top>
  4153.             <right>434</right>
  4154.             <bottom>252</bottom>
  4155.         </rect>
  4156.         <style>scrolling</style>
  4157.         <autoSelect> <false /> </autoSelect>
  4158.         <showLines> <false /> </showLines>
  4159.         <wideMargins> <false /> </wideMargins>
  4160.         <multipleLines> <false /> </multipleLines>
  4161.         <reservedFamily> 0 </reservedFamily>
  4162.         <titleWidth>0</titleWidth>
  4163.         <icon>0</icon>
  4164.         <textAlign>left</textAlign>
  4165.         <font>Geneva</font>
  4166.         <textSize>9</textSize>
  4167.         <textStyle>plain</textStyle>
  4168.         <textHeight>12</textHeight>
  4169.         <name></name>
  4170.         <script></script>
  4171.     </part>
  4172.     <part>
  4173.         <id>5</id>
  4174.         <type>button</type>
  4175.         <visible> <true /> </visible>
  4176.         <reserved5> 0 </reserved5>
  4177.         <reserved4> 0 </reserved4>
  4178.         <reserved3> 0 </reserved3>
  4179.         <reserved2> 0 </reserved2>
  4180.         <reserved1> 0 </reserved1>
  4181.         <enabled> <true /> </enabled>
  4182.         <rect>
  4183.             <left>174</left>
  4184.             <top>281</top>
  4185.             <right>343</right>
  4186.             <bottom>311</bottom>
  4187.         </rect>
  4188.         <style>roundrect</style>
  4189.         <showName> <true /> </showName>
  4190.         <highlight> <false /> </highlight>
  4191.         <autoHighlight> <true /> </autoHighlight>
  4192.         <sharedHighlight> <true /> </sharedHighlight>
  4193.         <family>0</family>
  4194.         <titleWidth>0</titleWidth>
  4195.         <icon>0</icon>
  4196.         <textAlign>center</textAlign>
  4197.         <font>Geneva</font>
  4198.         <textSize>12</textSize>
  4199.         <textStyle>plain</textStyle>
  4200.         <name>FileIsOpen</name>
  4201.         <script>on mouseUp
  4202. get filepath("","File to test :")
  4203. if it Γëá empty
  4204. then answer FileIsOpen(it)
  4205. end mouseUp</script>
  4206.     </part>
  4207.     <content>
  4208.         <layer>card</layer>
  4209.         <id>1</id>
  4210.         <text>
  4211.  
  4212.                                               FileIsOpen 1.1
  4213.  
  4214.                                           by Fr├⌐d├⌐ric RINALDI
  4215.  
  4216.  
  4217. DESCRIPTION
  4218. ------------
  4219.   FileIsOpen allows to test if a file is already open or not.
  4220.  
  4221.  
  4222. SYNTAX
  4223. --------
  4224.                                          FileIsOpen <File path>
  4225.  
  4226.  
  4227. PARAMETERS
  4228. ------------
  4229.    <File path> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  4230.  
  4231.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  4232.  
  4233.  
  4234. USING
  4235. -----
  4236.    The XFCN return "true" is the file is open, "false" if not.
  4237.  
  4238. If an error occurs, FileIsOpen can return :
  4239.      "Error : Not a file"
  4240.      "Error : Not a folder"
  4241.      "Error : Alias file not supported"
  4242.      "Error : Volume not found"
  4243.      "Error : Bad Name"
  4244.      "Error : File not found"
  4245.      "Error : Folder not found"
  4246.      "Error : File is busy"
  4247.      "Error : I/O Error"
  4248.      "Error : Folder is full"
  4249.      "Error : Volume is locked"
  4250.      "Error : No resource fork"
  4251.      "Error : Duplicate file/folder name"
  4252.      "Error : Moving whole volume not allowed"
  4253.      "Error : Not an AppleShare volume"
  4254.      "Error : AppleShare insufficient privileges"
  4255.      "Error : Missing or empty parameter"
  4256.  
  4257.  
  4258. HISTORY
  4259. --------
  4260. 1.1 :                                                                                          08/04/91
  4261. ΓÇó Added support for System 7.0 alias files
  4262. ΓÇó General enhancement of the code
  4263. ΓÇó Added "=" param for online help
  4264.  
  4265.  
  4266.   This stack uses FilePath XFCN, ┬⌐ 1898, 1990 Apple Computer, Inc.
  4267. </text>
  4268.     </content>
  4269.     <name>FileIsOpen 1.1</name>
  4270.     <script>
  4271.  
  4272.  
  4273.  
  4274. on opencard
  4275. end opencard
  4276.  
  4277. on closeCard
  4278. end closeCard
  4279.  
  4280. </script>
  4281. </card>
  4282.  
  4283.  
  4284. card_13801.xml
  4285. <?xml version="1.0" encoding="utf-8" ?>
  4286. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4287. <card>
  4288.     <id>13801</id>
  4289.     <filler1>0</filler1>
  4290.     <bitmap>BMAP_13877.pbm</bitmap>
  4291.     <cantDelete> <false /> </cantDelete>
  4292.     <showPict> <true /> </showPict>
  4293.     <dontSearch> <false /> </dontSearch>
  4294.     <owner>46925</owner>
  4295.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  4296.     <part>
  4297.         <id>1</id>
  4298.         <type>field</type>
  4299.         <visible> <true /> </visible>
  4300.         <dontWrap> <false /> </dontWrap>
  4301.         <dontSearch> <false /> </dontSearch>
  4302.         <sharedText> <false /> </sharedText>
  4303.         <fixedLineHeight> <true /> </fixedLineHeight>
  4304.         <autoTab> <false /> </autoTab>
  4305.         <lockText> <true /> </lockText>
  4306.         <rect>
  4307.             <left>69</left>
  4308.             <top>68</top>
  4309.             <right>434</right>
  4310.             <bottom>252</bottom>
  4311.         </rect>
  4312.         <style>scrolling</style>
  4313.         <autoSelect> <false /> </autoSelect>
  4314.         <showLines> <false /> </showLines>
  4315.         <wideMargins> <false /> </wideMargins>
  4316.         <multipleLines> <false /> </multipleLines>
  4317.         <reservedFamily> 0 </reservedFamily>
  4318.         <titleWidth>0</titleWidth>
  4319.         <icon>0</icon>
  4320.         <textAlign>left</textAlign>
  4321.         <font>Geneva</font>
  4322.         <textSize>9</textSize>
  4323.         <textStyle>plain</textStyle>
  4324.         <textHeight>12</textHeight>
  4325.         <name></name>
  4326.         <script></script>
  4327.     </part>
  4328.     <part>
  4329.         <id>5</id>
  4330.         <type>button</type>
  4331.         <visible> <true /> </visible>
  4332.         <reserved5> 0 </reserved5>
  4333.         <reserved4> 0 </reserved4>
  4334.         <reserved3> 0 </reserved3>
  4335.         <reserved2> 0 </reserved2>
  4336.         <reserved1> 0 </reserved1>
  4337.         <enabled> <true /> </enabled>
  4338.         <rect>
  4339.             <left>119</left>
  4340.             <top>282</top>
  4341.             <right>243</right>
  4342.             <bottom>316</bottom>
  4343.         </rect>
  4344.         <style>roundrect</style>
  4345.         <showName> <true /> </showName>
  4346.         <highlight> <false /> </highlight>
  4347.         <autoHighlight> <true /> </autoHighlight>
  4348.         <sharedHighlight> <true /> </sharedHighlight>
  4349.         <family>0</family>
  4350.         <titleWidth>0</titleWidth>
  4351.         <icon>0</icon>
  4352.         <textAlign>center</textAlign>
  4353.         <font>Geneva</font>
  4354.         <textSize>12</textSize>
  4355.         <textStyle>plain</textStyle>
  4356.         <name>FileToRes</name>
  4357.         <script>on mouseUp
  4358. get FilePath(empty,"Please select file :")
  4359. if it Γëá empty
  4360. then
  4361. put it into FileName
  4362. ask "Name of the resource ?" with "NewData"
  4363. if it Γëá empty
  4364. then
  4365. FileToRes FileName,it
  4366. if the result Γëá empty
  4367. then answer the Result
  4368. else answer "Resource successfully created"
  4369. end if
  4370. end if
  4371. end mouseUp
  4372. </script>
  4373.     </part>
  4374.     <part>
  4375.         <id>8</id>
  4376.         <type>field</type>
  4377.         <visible> <false /> </visible>
  4378.         <dontWrap> <false /> </dontWrap>
  4379.         <dontSearch> <false /> </dontSearch>
  4380.         <sharedText> <false /> </sharedText>
  4381.         <fixedLineHeight> <true /> </fixedLineHeight>
  4382.         <autoTab> <false /> </autoTab>
  4383.         <lockText> <true /> </lockText>
  4384.         <rect>
  4385.             <left>131</left>
  4386.             <top>9</top>
  4387.             <right>377</right>
  4388.             <bottom>273</bottom>
  4389.         </rect>
  4390.         <style>shadow</style>
  4391.         <autoSelect> <false /> </autoSelect>
  4392.         <showLines> <false /> </showLines>
  4393.         <wideMargins> <false /> </wideMargins>
  4394.         <multipleLines> <false /> </multipleLines>
  4395.         <reservedFamily> 0 </reservedFamily>
  4396.         <titleWidth>0</titleWidth>
  4397.         <icon>0</icon>
  4398.         <textAlign>left</textAlign>
  4399.         <font>Geneva</font>
  4400.         <textSize>12</textSize>
  4401.         <textStyle>bold</textStyle>
  4402.         <textHeight>16</textHeight>
  4403.         <name></name>
  4404.         <script></script>
  4405.     </part>
  4406.     <part>
  4407.         <id>11</id>
  4408.         <type>button</type>
  4409.         <visible> <false /> </visible>
  4410.         <reserved5> 0 </reserved5>
  4411.         <reserved4> 0 </reserved4>
  4412.         <reserved3> 0 </reserved3>
  4413.         <reserved2> 0 </reserved2>
  4414.         <reserved1> 0 </reserved1>
  4415.         <enabled> <true /> </enabled>
  4416.         <rect>
  4417.             <left>135</left>
  4418.             <top>13</top>
  4419.             <right>148</right>
  4420.             <bottom>26</bottom>
  4421.         </rect>
  4422.         <style>rectangle</style>
  4423.         <showName> <true /> </showName>
  4424.         <highlight> <false /> </highlight>
  4425.         <autoHighlight> <true /> </autoHighlight>
  4426.         <sharedHighlight> <true /> </sharedHighlight>
  4427.         <family>0</family>
  4428.         <titleWidth>0</titleWidth>
  4429.         <icon>0</icon>
  4430.         <textAlign>center</textAlign>
  4431.         <font>Geneva</font>
  4432.         <textSize>12</textSize>
  4433.         <textStyle>plain</textStyle>
  4434.         <name></name>
  4435.         <script>on mouseUp
  4436. ls
  4437. hide btn 2
  4438. hide cd fld 2
  4439. hide cd fld 3
  4440. end mouseUp
  4441. </script>
  4442.     </part>
  4443.     <part>
  4444.         <id>16</id>
  4445.         <type>field</type>
  4446.         <visible> <false /> </visible>
  4447.         <dontWrap> <false /> </dontWrap>
  4448.         <dontSearch> <false /> </dontSearch>
  4449.         <sharedText> <false /> </sharedText>
  4450.         <fixedLineHeight> <true /> </fixedLineHeight>
  4451.         <autoTab> <false /> </autoTab>
  4452.         <lockText> <false /> </lockText>
  4453.         <rect>
  4454.             <left>156</left>
  4455.             <top>18</top>
  4456.             <right>354</right>
  4457.             <bottom>262</bottom>
  4458.         </rect>
  4459.         <style>scrolling</style>
  4460.         <autoSelect> <false /> </autoSelect>
  4461.         <showLines> <false /> </showLines>
  4462.         <wideMargins> <false /> </wideMargins>
  4463.         <multipleLines> <false /> </multipleLines>
  4464.         <reservedFamily> 0 </reservedFamily>
  4465.         <titleWidth>0</titleWidth>
  4466.         <icon>0</icon>
  4467.         <textAlign>left</textAlign>
  4468.         <font>Geneva</font>
  4469.         <textSize>10</textSize>
  4470.         <textStyle>plain</textStyle>
  4471.         <textHeight>13</textHeight>
  4472.         <name></name>
  4473.         <script></script>
  4474.     </part>
  4475.     <part>
  4476.         <id>17</id>
  4477.         <type>button</type>
  4478.         <visible> <true /> </visible>
  4479.         <reserved5> 0 </reserved5>
  4480.         <reserved4> 0 </reserved4>
  4481.         <reserved3> 0 </reserved3>
  4482.         <reserved2> 0 </reserved2>
  4483.         <reserved1> 0 </reserved1>
  4484.         <enabled> <true /> </enabled>
  4485.         <rect>
  4486.             <left>320</left>
  4487.             <top>282</top>
  4488.             <right>444</right>
  4489.             <bottom>316</bottom>
  4490.         </rect>
  4491.         <style>roundrect</style>
  4492.         <showName> <true /> </showName>
  4493.         <highlight> <false /> </highlight>
  4494.         <autoHighlight> <true /> </autoHighlight>
  4495.         <sharedHighlight> <true /> </sharedHighlight>
  4496.         <family>0</family>
  4497.         <titleWidth>0</titleWidth>
  4498.         <icon>0</icon>
  4499.         <textAlign>center</textAlign>
  4500.         <font>Geneva</font>
  4501.         <textSize>12</textSize>
  4502.         <textStyle>plain</textStyle>
  4503.         <name>ResToFile</name>
  4504.         <script>on mouseUp
  4505. ask "Please name the new file :"
  4506. if it Γëá empty
  4507. then
  4508. put it into FileName
  4509. ask "Name of the resource ?" with "TestStack"
  4510. if it Γëá empty
  4511. then
  4512. put it into DATAName
  4513. ResToFile FileName,DATAName
  4514. if the result Γëá empty
  4515. then
  4516. if first word of the Result is "Error"
  4517. then answer the Result
  4518. else put the Result into FileName
  4519. end if
  4520. if DATAName is "TestStack"
  4521. then go stack FileName
  4522. end if
  4523. end if
  4524. end mouseUp
  4525. </script>
  4526.     </part>
  4527.     <content>
  4528.         <layer>card</layer>
  4529.         <id>1</id>
  4530.         <text>
  4531.  
  4532.                                               FileMaker 1.1
  4533.  
  4534.                                          by Fr├⌐d├⌐ric RINALDI
  4535.  
  4536.  
  4537. DESCRIPTION
  4538. ------------
  4539.   FileMaker is a set of two XCMDs : FileToRes and ResToFile. These two externals allow to create any type of document, empty or already filled, from within a script and reopen it with the original application.
  4540.  
  4541.  
  4542.                                                FileToRes 1.1
  4543.                                                ------------
  4544.  
  4545. SYNTAX
  4546. -------
  4547.                   FileToRes <file path or name>,<DATA res name>
  4548.  
  4549.  
  4550. PARAMETERS
  4551. ------------
  4552.    <file path or name> can be a single name or whole pathname.  If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  4553.  
  4554.    <DATA res name> is the name which will take the created DATA resource in the current stack.
  4555.  
  4556.      Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  4557.  
  4558.  
  4559. USING
  4560. ------
  4561.    The XCMD can generate DATA resource from any kind of file with no resource fork. Along with the datas, the file type, creator and flags are put in the DATA resource in order for ResToFile XCMD to regenerate exactly the same file than the original.
  4562.    If a DATA resource already exists with the same name, a dialog will be prompted for the user to choose to rename, replace or cancel. If rename is choosen, a second dialog will ask for the new name, and the Result will return the changed name. With replace, the previous resource will be overwritten.
  4563.   If you plan to capture a stack, compact it before in order to get the smallest resource as possible.
  4564.  
  4565.   If an error occurs, the Result can return :
  4566.      "Error : Not a file"
  4567.      "Error : Not a folder"
  4568.      "Error : Alias file not supported"
  4569.      "Error : Volume not found"
  4570.      "Error : Bad Name"
  4571.      "Error : File not found"
  4572.      "Error : Folder not found"
  4573.      "Error : File is busy"
  4574.      "Error : I/O Error"
  4575.      "Error : Folder is full"
  4576.      "Error : Volume is locked"
  4577.      "Error : No resource fork"
  4578.      "Error : Duplicate file/folder name"
  4579.      "Error : Moving whole volume not allowed"
  4580.      "Error : Not an AppleShare volume"
  4581.      "Error : AppleShare insufficient privileges"
  4582.      "Error : Missing or empty parameter(s)"
  4583.      "Error : Creation aborted"
  4584.      "Error : Old DATA res could't be removed"
  4585.      "Error : Couldn't clear DATA resource"
  4586.      "Error : Creation aborted"
  4587.      "Error : This file has a resource fork"
  4588.      "Error : Out of memory"
  4589.      "Error : Couldn't build resource"
  4590.      "Error : Couldn't create DATA resource"
  4591.  
  4592.  
  4593. HISTORY
  4594. --------
  4595. 1.1 :                                                                                          08/04/91
  4596. ΓÇó Added support for System 7.0 alias files
  4597. ΓÇó General enhancement of the code
  4598. ΓÇó Added "=" param for online help
  4599.  
  4600.  
  4601.  
  4602.                                                ResToFile 1.1
  4603.                                                ------------
  4604.  
  4605. SYNTAX
  4606. -------
  4607.                 ResToFile <name or pathName>,<DATA res name>
  4608.  
  4609.  
  4610. PARAMETERS
  4611. ------------
  4612.    <file path or name> can be a single name or whole pathname.  If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  4613.  
  4614.    <DATA res name>is the name of the DATA resource which will be used to re-create the original file.
  4615.  
  4616.      Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  4617.  
  4618.  
  4619. USING
  4620. ------
  4621.   The XCMD uses DATA resource previously created by FileToRes XCMD to rebuild the whole file. Since file type, creator and flags were preserved, the rebuilt file is exactly the same than the original.
  4622.    If a file already exists with the same name, a dialog will be prompted for the user to choose to rename, replace or cancel. If rename is choosen, a second dialog will ask for the new name, and the Result will return the changed name. With replace, the previous file will be overwritten.
  4623.  
  4624.   If an error occurs, the Result can return :
  4625.      "Error : Not a file"
  4626.      "Error : Not a folder"
  4627.      "Error : Alias file not supported"
  4628.      "Error : Volume not found"
  4629.      "Error : Bad Name"
  4630.      "Error : File not found"
  4631.      "Error : Folder not found"
  4632.      "Error : File is busy"
  4633.      "Error : I/O Error"
  4634.      "Error : Folder is full"
  4635.      "Error : Volume is locked"
  4636.      "Error : No resource fork"
  4637.      "Error : Duplicate file/folder name"
  4638.      "Error : Moving whole volume not allowed"
  4639.      "Error : Not an AppleShare volume"
  4640.      "Error : AppleShare insufficient privileges"
  4641.      "Error : Missing or empty parameter(s)"
  4642.      "Error : DATA res "name" not found"
  4643.      "Error : No more disk space"
  4644.      "Error : Creation aborted"
  4645.      "Error : Creation aborted"
  4646.  
  4647.    To test these XCMDs, just click on buttons below. A DATA resource named 
  4648. "TestStack" is already in the stack for testing purpose. It will create a stack template with two cards, script and objects.
  4649.  
  4650.  
  4651. HISTORY
  4652. ----------
  4653. 1.1 :                                                                                          08/04/91
  4654. ΓÇó Added support for System 7.0 alias files
  4655. ΓÇó General enhancement of the code
  4656. ΓÇó Added "=" param for online help
  4657.  
  4658. This stack uses FilePath  XFCN, ┬⌐ 1898, 1990 Apple Computer, Inc.
  4659. </text>
  4660.     </content>
  4661.     <content>
  4662.         <layer>card</layer>
  4663.         <id>8</id>
  4664.         <text>
  4665. </text>
  4666.     </content>
  4667.     <content>
  4668.         <layer>card</layer>
  4669.         <id>16</id>
  4670.         <text>This XFCN is FreeWare,allowing unlimitted use in any non-commercial stack. 
  4671. You just need in this case to mention the author's name in the stack.
  4672. Any commercial use must be licenced and aknowledged by the author.</text>
  4673.     </content>
  4674.     <name>FileMaker 1.1</name>
  4675.     <script>
  4676.  
  4677.  
  4678.  
  4679. on opencard
  4680. end opencard
  4681.  
  4682. on closeCard
  4683. ls
  4684. hide btn 2
  4685. hide cd fld 2
  4686. hide cd fld 3
  4687. end closeCard
  4688.  
  4689. </script>
  4690. </card>
  4691.  
  4692.  
  4693. card_14209.xml
  4694. <?xml version="1.0" encoding="utf-8" ?>
  4695. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4696. <card>
  4697.     <id>14209</id>
  4698.     <filler1>0</filler1>
  4699.     <bitmap>BMAP_14516.pbm</bitmap>
  4700.     <cantDelete> <false /> </cantDelete>
  4701.     <showPict> <true /> </showPict>
  4702.     <dontSearch> <false /> </dontSearch>
  4703.     <owner>46925</owner>
  4704.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  4705.     <part>
  4706.         <id>1</id>
  4707.         <type>field</type>
  4708.         <visible> <true /> </visible>
  4709.         <dontWrap> <false /> </dontWrap>
  4710.         <dontSearch> <false /> </dontSearch>
  4711.         <sharedText> <false /> </sharedText>
  4712.         <fixedLineHeight> <true /> </fixedLineHeight>
  4713.         <autoTab> <false /> </autoTab>
  4714.         <lockText> <true /> </lockText>
  4715.         <rect>
  4716.             <left>69</left>
  4717.             <top>68</top>
  4718.             <right>434</right>
  4719.             <bottom>252</bottom>
  4720.         </rect>
  4721.         <style>scrolling</style>
  4722.         <autoSelect> <false /> </autoSelect>
  4723.         <showLines> <false /> </showLines>
  4724.         <wideMargins> <false /> </wideMargins>
  4725.         <multipleLines> <false /> </multipleLines>
  4726.         <reservedFamily> 0 </reservedFamily>
  4727.         <titleWidth>0</titleWidth>
  4728.         <icon>0</icon>
  4729.         <textAlign>left</textAlign>
  4730.         <font>Geneva</font>
  4731.         <textSize>9</textSize>
  4732.         <textStyle>plain</textStyle>
  4733.         <textHeight>12</textHeight>
  4734.         <name></name>
  4735.         <script></script>
  4736.     </part>
  4737.     <part>
  4738.         <id>22</id>
  4739.         <type>button</type>
  4740.         <visible> <false /> </visible>
  4741.         <reserved5> 0 </reserved5>
  4742.         <reserved4> 0 </reserved4>
  4743.         <reserved3> 0 </reserved3>
  4744.         <reserved2> 0 </reserved2>
  4745.         <reserved1> 0 </reserved1>
  4746.         <enabled> <true /> </enabled>
  4747.         <rect>
  4748.             <left>0</left>
  4749.             <top>326</top>
  4750.             <right>18</right>
  4751.             <bottom>342</bottom>
  4752.         </rect>
  4753.         <style>checkbox</style>
  4754.         <showName> <false /> </showName>
  4755.         <highlight> <false /> </highlight>
  4756.         <autoHighlight> <true /> </autoHighlight>
  4757.         <sharedHighlight> <true /> </sharedHighlight>
  4758.         <family>0</family>
  4759.         <titleWidth>0</titleWidth>
  4760.         <icon>0</icon>
  4761.         <textAlign>center</textAlign>
  4762.         <font>Geneva</font>
  4763.         <textSize>12</textSize>
  4764.         <textStyle>plain</textStyle>
  4765.         <name></name>
  4766.         <script></script>
  4767.     </part>
  4768.     <part>
  4769.         <id>25</id>
  4770.         <type>button</type>
  4771.         <visible> <true /> </visible>
  4772.         <reserved5> 0 </reserved5>
  4773.         <reserved4> 0 </reserved4>
  4774.         <reserved3> 0 </reserved3>
  4775.         <reserved2> 0 </reserved2>
  4776.         <reserved1> 0 </reserved1>
  4777.         <enabled> <true /> </enabled>
  4778.         <rect>
  4779.             <left>209</left>
  4780.             <top>278</top>
  4781.             <right>335</right>
  4782.             <bottom>318</bottom>
  4783.         </rect>
  4784.         <style>roundrect</style>
  4785.         <showName> <true /> </showName>
  4786.         <highlight> <false /> </highlight>
  4787.         <autoHighlight> <true /> </autoHighlight>
  4788.         <sharedHighlight> <true /> </sharedHighlight>
  4789.         <family>0</family>
  4790.         <titleWidth>0</titleWidth>
  4791.         <icon>0</icon>
  4792.         <textAlign>center</textAlign>
  4793.         <font>Geneva</font>
  4794.         <textSize>12</textSize>
  4795.         <textStyle>plain</textStyle>
  4796.         <name>FindFolder</name>
  4797.         <script>on mouseUp
  4798. put "A,C,D,E,P,M,N,T,I,S,Y" into ParamList
  4799.  
  4800. repeat with i=1 to number of items of ParamList
  4801. put quote & item i of ParamList & quote & " : " &┬¼
  4802. FindFolder(item i of ParamList) & return after Temp
  4803. end repeat
  4804.  
  4805. put Temp into cd fld 2
  4806. show cd fld 2
  4807. end mouseUp
  4808. </script>
  4809.     </part>
  4810.     <part>
  4811.         <id>26</id>
  4812.         <type>field</type>
  4813.         <visible> <false /> </visible>
  4814.         <dontWrap> <false /> </dontWrap>
  4815.         <dontSearch> <false /> </dontSearch>
  4816.         <sharedText> <false /> </sharedText>
  4817.         <fixedLineHeight> <true /> </fixedLineHeight>
  4818.         <autoTab> <false /> </autoTab>
  4819.         <lockText> <true /> </lockText>
  4820.         <rect>
  4821.             <left>56</left>
  4822.             <top>88</top>
  4823.             <right>440</right>
  4824.             <bottom>231</bottom>
  4825.         </rect>
  4826.         <style>shadow</style>
  4827.         <autoSelect> <false /> </autoSelect>
  4828.         <showLines> <false /> </showLines>
  4829.         <wideMargins> <true /> </wideMargins>
  4830.         <multipleLines> <false /> </multipleLines>
  4831.         <reservedFamily> 0 </reservedFamily>
  4832.         <titleWidth>0</titleWidth>
  4833.         <icon>0</icon>
  4834.         <textAlign>left</textAlign>
  4835.         <font>Geneva</font>
  4836.         <textSize>9</textSize>
  4837.         <textStyle>plain</textStyle>
  4838.         <textHeight>12</textHeight>
  4839.         <name></name>
  4840.         <script>on mouseUp
  4841. hide me
  4842. end mouseUP</script>
  4843.     </part>
  4844.     <content>
  4845.         <layer>card</layer>
  4846.         <id>1</id>
  4847.         <text>
  4848.  
  4849.                                              FindFolder 1.0
  4850.  
  4851.                                         by Fr├⌐d├⌐ric RINALDI
  4852.  
  4853.  
  4854. DESCRIPTION
  4855. ------------
  4856.   FindFolder returns the full pathname of the active System folder or any of its reserved folders (System 7.0).
  4857.  
  4858.  
  4859. SYNTAX
  4860. -------
  4861.                         FindFolder([<folder descriptor>[,<create it>]])
  4862.  
  4863. PARAMETERS
  4864. ------------
  4865.    <folder descriptor> is a string describing the folder. It must be one of these values (only first char is checked) :
  4866.           A[pple menu]
  4867.           C[ontrol Panel]
  4868.           D[esktop]
  4869.           E[xtensions]
  4870.           P[references]
  4871.           M[onitor printing]
  4872.           N[etwork trash]
  4873.           T[rash]
  4874.           I[tems startup]
  4875.           S[ystem]
  4876.           Y : TemporarY items
  4877.  
  4878.    Default value is "S".
  4879.  
  4880.    <create it> is a boolean telling if the XFCN must create the folder if not found (only with System 7.0). Default is FALSE.
  4881.  
  4882.    Both parameters are optional. Using "!", "?" or "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  4883.  
  4884. USING
  4885. -----
  4886.   The XFCN returns the full pathname of the requested folder, ending with colon.
  4887.    Under System 6.0, only current System folder can be returned.
  4888.  
  4889. ERRORS
  4890. -------
  4891. If an error occurs, the XFCN can return :
  4892.      "Error : Empty parameter"
  4893.      "Error : Second param must be boolean"
  4894.      "Error : Folder not found"
  4895.      "Error : Found file instead of folder"
  4896. </text>
  4897.     </content>
  4898.     <content>
  4899.         <layer>card</layer>
  4900.         <id>26</id>
  4901.         <text>"A" : HD160INT:System Folder:Apple Menu Items:
  4902. "C" : HD160INT:System Folder:Control Panels:
  4903. "D" : HD160INT:Desktop Folder:
  4904. "E" : HD160INT:System Folder:Extensions:
  4905. "P" : HD160INT:System Folder:Preferences:
  4906. "M" : HD160INT:System Folder:PrintMonitor Documents:
  4907. "N" : HD160INT:Trash:
  4908. "T" : HD160INT:Trash:
  4909. "I" : HD160INT:System Folder:Startup Items:
  4910. "S" : HD160INT:System Folder:
  4911. "Y" : HD160INT:Temporary Items:
  4912. </text>
  4913.     </content>
  4914.     <name>FindFolder 1.0</name>
  4915.     <script>
  4916.  
  4917.  
  4918.  
  4919. on opencard
  4920. end opencard
  4921.  
  4922. on closeCard
  4923. hide cd fld 2
  4924. end closeCard
  4925.  
  4926. </script>
  4927. </card>
  4928.  
  4929.  
  4930. card_14781.xml
  4931. <?xml version="1.0" encoding="utf-8" ?>
  4932. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4933. <card>
  4934.     <id>14781</id>
  4935.     <filler1>0</filler1>
  4936.     <bitmap>BMAP_15071.pbm</bitmap>
  4937.     <cantDelete> <false /> </cantDelete>
  4938.     <showPict> <true /> </showPict>
  4939.     <dontSearch> <false /> </dontSearch>
  4940.     <owner>46925</owner>
  4941.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  4942.     <part>
  4943.         <id>1</id>
  4944.         <type>field</type>
  4945.         <visible> <true /> </visible>
  4946.         <dontWrap> <false /> </dontWrap>
  4947.         <dontSearch> <false /> </dontSearch>
  4948.         <sharedText> <false /> </sharedText>
  4949.         <fixedLineHeight> <true /> </fixedLineHeight>
  4950.         <autoTab> <false /> </autoTab>
  4951.         <lockText> <true /> </lockText>
  4952.         <rect>
  4953.             <left>69</left>
  4954.             <top>68</top>
  4955.             <right>434</right>
  4956.             <bottom>252</bottom>
  4957.         </rect>
  4958.         <style>scrolling</style>
  4959.         <autoSelect> <false /> </autoSelect>
  4960.         <showLines> <false /> </showLines>
  4961.         <wideMargins> <false /> </wideMargins>
  4962.         <multipleLines> <false /> </multipleLines>
  4963.         <reservedFamily> 0 </reservedFamily>
  4964.         <titleWidth>0</titleWidth>
  4965.         <icon>0</icon>
  4966.         <textAlign>left</textAlign>
  4967.         <font>Geneva</font>
  4968.         <textSize>9</textSize>
  4969.         <textStyle>plain</textStyle>
  4970.         <textHeight>12</textHeight>
  4971.         <name></name>
  4972.         <script></script>
  4973.     </part>
  4974.     <part>
  4975.         <id>5</id>
  4976.         <type>button</type>
  4977.         <visible> <true /> </visible>
  4978.         <reserved5> 0 </reserved5>
  4979.         <reserved4> 0 </reserved4>
  4980.         <reserved3> 0 </reserved3>
  4981.         <reserved2> 0 </reserved2>
  4982.         <reserved1> 0 </reserved1>
  4983.         <enabled> <true /> </enabled>
  4984.         <rect>
  4985.             <left>174</left>
  4986.             <top>281</top>
  4987.             <right>343</right>
  4988.             <bottom>311</bottom>
  4989.         </rect>
  4990.         <style>roundrect</style>
  4991.         <showName> <true /> </showName>
  4992.         <highlight> <false /> </highlight>
  4993.         <autoHighlight> <true /> </autoHighlight>
  4994.         <sharedHighlight> <true /> </sharedHighlight>
  4995.         <family>0</family>
  4996.         <titleWidth>0</titleWidth>
  4997.         <icon>0</icon>
  4998.         <textAlign>center</textAlign>
  4999.         <font>Geneva</font>
  5000.         <textSize>12</textSize>
  5001.         <textStyle>plain</textStyle>
  5002.         <name>FolderSize</name>
  5003.         <script>on mouseUp
  5004. get FolderPath("What folder :")
  5005. if it Γëá empty
  5006. then
  5007. go this cd
  5008. set cursor to watch
  5009. answer "Folder size is" && FolderSize(it) && "bytes"
  5010. end if
  5011. end mouseUp
  5012. </script>
  5013.     </part>
  5014.     <content>
  5015.         <layer>card</layer>
  5016.         <id>1</id>
  5017.         <text>
  5018.                                               FolderSize 1.1
  5019.  
  5020.                                           by Fr├⌐d├⌐ric RINALDI
  5021.  
  5022.  
  5023. DESCRIPTION
  5024. ------------
  5025.   FolderSize XFCN returns the physical size of any folder or volume.
  5026.  
  5027.  
  5028. SYNTAX
  5029. --------
  5030.                  FolderSize(<folder pathname>[,<logical size>])
  5031.  
  5032.  
  5033. PARAMETERS
  5034. ------------
  5035.    <folder pathname> can be a single name or whole pathname. If just a single name is supplied, the folder is assumed to be in the same folder than the current stack.
  5036.  
  5037.    <logical size> is a boolean for choosing between logical and physical size. Default is logical size (TRUE).
  5038.  
  5039.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  5040.  
  5041.  
  5042. USING
  5043. -----
  5044.    The XFCN returns the physical size in bytes of the folder or volume. This value can be different from the folder size given by the Finder Info, since the Finder adds the logical size of each enclosed file. The physical size is more accurate, since you can use it to know how much space you really need to copy that folder.
  5045.  
  5046. If an error occurs, FolderSize can return :
  5047.  
  5048.      "Error : Not a file"
  5049.      "Error : Not a folder"
  5050.      "Error : Alias file not supported"
  5051.      "Error : Volume not found"
  5052.      "Error : Bad Name"
  5053.      "Error : File not found"
  5054.      "Error : Folder not found"
  5055.      "Error : File is busy"
  5056.      "Error : I/O Error"
  5057.      "Error : Folder is full"
  5058.      "Error : Volume is locked"
  5059.      "Error : No resource fork"
  5060.      "Error : Duplicate file/folder name"
  5061.      "Error : Moving whole volume not allowed"
  5062.      "Error : Not an AppleShare volume"
  5063.      "Error : AppleShare insufficient privileges"
  5064.      "Error : Couln't open working directory"
  5065.      "Error : Couln't close working directory"
  5066.      "Error : Missing or empty parameter"
  5067.      "Error : Second param must be boolean"
  5068.  
  5069.  
  5070. HISTORY
  5071. --------
  5072. 1.1 :                                                                                          08/04/91
  5073. ΓÇó Added support for System 7.0 alias files
  5074. ΓÇó General enhancement of the code
  5075. ΓÇó┬áAdded <logical size> param
  5076. ΓÇó Added "=" param for online help
  5077.  
  5078.  
  5079.   This stack uses FolderPath XFCN, ┬⌐ 1898, 1990 Apple Computer, Inc.
  5080. </text>
  5081.     </content>
  5082.     <name>FolderSize 1.1</name>
  5083.     <script>
  5084.  
  5085.  
  5086.  
  5087. on opencard
  5088. end opencard
  5089.  
  5090. on closeCard
  5091. end closeCard
  5092.  
  5093. </script>
  5094. </card>
  5095.  
  5096.  
  5097. card_15241.xml
  5098. <?xml version="1.0" encoding="utf-8" ?>
  5099. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5100. <card>
  5101.     <id>15241</id>
  5102.     <filler1>0</filler1>
  5103.     <bitmap>BMAP_15480.pbm</bitmap>
  5104.     <cantDelete> <false /> </cantDelete>
  5105.     <showPict> <true /> </showPict>
  5106.     <dontSearch> <false /> </dontSearch>
  5107.     <owner>46925</owner>
  5108.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  5109.     <part>
  5110.         <id>1</id>
  5111.         <type>field</type>
  5112.         <visible> <true /> </visible>
  5113.         <dontWrap> <false /> </dontWrap>
  5114.         <dontSearch> <false /> </dontSearch>
  5115.         <sharedText> <false /> </sharedText>
  5116.         <fixedLineHeight> <true /> </fixedLineHeight>
  5117.         <autoTab> <false /> </autoTab>
  5118.         <lockText> <true /> </lockText>
  5119.         <rect>
  5120.             <left>69</left>
  5121.             <top>68</top>
  5122.             <right>434</right>
  5123.             <bottom>252</bottom>
  5124.         </rect>
  5125.         <style>scrolling</style>
  5126.         <autoSelect> <false /> </autoSelect>
  5127.         <showLines> <false /> </showLines>
  5128.         <wideMargins> <false /> </wideMargins>
  5129.         <multipleLines> <false /> </multipleLines>
  5130.         <reservedFamily> 0 </reservedFamily>
  5131.         <titleWidth>0</titleWidth>
  5132.         <icon>0</icon>
  5133.         <textAlign>left</textAlign>
  5134.         <font>Geneva</font>
  5135.         <textSize>9</textSize>
  5136.         <textStyle>plain</textStyle>
  5137.         <textHeight>12</textHeight>
  5138.         <name></name>
  5139.         <script></script>
  5140.     </part>
  5141.     <part>
  5142.         <id>5</id>
  5143.         <type>button</type>
  5144.         <visible> <true /> </visible>
  5145.         <reserved5> 0 </reserved5>
  5146.         <reserved4> 0 </reserved4>
  5147.         <reserved3> 0 </reserved3>
  5148.         <reserved2> 0 </reserved2>
  5149.         <reserved1> 0 </reserved1>
  5150.         <enabled> <true /> </enabled>
  5151.         <rect>
  5152.             <left>297</left>
  5153.             <top>281</top>
  5154.             <right>466</right>
  5155.             <bottom>311</bottom>
  5156.         </rect>
  5157.         <style>roundrect</style>
  5158.         <showName> <true /> </showName>
  5159.         <highlight> <false /> </highlight>
  5160.         <autoHighlight> <true /> </autoHighlight>
  5161.         <sharedHighlight> <true /> </sharedHighlight>
  5162.         <family>0</family>
  5163.         <titleWidth>0</titleWidth>
  5164.         <icon>0</icon>
  5165.         <textAlign>center</textAlign>
  5166.         <font>Geneva</font>
  5167.         <textSize>12</textSize>
  5168.         <textStyle>plain</textStyle>
  5169.         <name>FontRenum</name>
  5170.         <script>on mouseUp
  5171.  
  5172. if the version ΓëÑ 2.0
  5173. then answer file "File to search in :"
  5174. else ask "PathName of file to search in :"
  5175. if it is empty then exit mouseUp
  5176. put it into FileName
  5177.  
  5178.  
  5179. ask "FOND resource name :"
  5180. if it is empty then exit mouseUp
  5181. put it into FontName
  5182.  
  5183. if FontName is "FOND"
  5184. then ask "Current FOND resource ID :"
  5185. else ask "Current linked resource ID :"
  5186. if it is empty then exit mouseUp
  5187. put it into CurrID
  5188.  
  5189. ask "New resource ID :"
  5190. if it is empty then exit mouseUp
  5191. put it into NewID
  5192.  
  5193. FontRenum FileName,FontName,CurrID,NewID
  5194.  
  5195. if the result Γëá empty
  5196. then answer the result
  5197.  
  5198. end mouseUp
  5199. </script>
  5200.     </part>
  5201.     <part>
  5202.         <id>24</id>
  5203.         <type>button</type>
  5204.         <visible> <true /> </visible>
  5205.         <reserved5> 0 </reserved5>
  5206.         <reserved4> 0 </reserved4>
  5207.         <reserved3> 0 </reserved3>
  5208.         <reserved2> 0 </reserved2>
  5209.         <reserved1> 0 </reserved1>
  5210.         <enabled> <true /> </enabled>
  5211.         <rect>
  5212.             <left>97</left>
  5213.             <top>281</top>
  5214.             <right>266</right>
  5215.             <bottom>311</bottom>
  5216.         </rect>
  5217.         <style>roundrect</style>
  5218.         <showName> <true /> </showName>
  5219.         <highlight> <false /> </highlight>
  5220.         <autoHighlight> <true /> </autoHighlight>
  5221.         <sharedHighlight> <true /> </sharedHighlight>
  5222.         <family>0</family>
  5223.         <titleWidth>0</titleWidth>
  5224.         <icon>0</icon>
  5225.         <textAlign>center</textAlign>
  5226.         <font>Geneva</font>
  5227.         <textSize>12</textSize>
  5228.         <textStyle>plain</textStyle>
  5229.         <name>FontInfos</name>
  5230.         <script>on mouseUp
  5231. global FondNb,FondResult
  5232.  
  5233. if the version ΓëÑ 2.0
  5234. then answer file "File to search in :"
  5235. else ask "PathName of file to search in :"
  5236.  
  5237. if it is empty then exit mouseUp
  5238.  
  5239. set cursor to watch
  5240. get FontInfos(it)
  5241.  
  5242. if word 1 of it is "Error"
  5243. then answer it
  5244. else
  5245. put 1 into FondNb
  5246. put it into FondResult
  5247. DisPlayResult
  5248. showHide true
  5249. end if
  5250. end mouseUp
  5251. </script>
  5252.     </part>
  5253.     <part>
  5254.         <id>17</id>
  5255.         <type>field</type>
  5256.         <visible> <false /> </visible>
  5257.         <dontWrap> <false /> </dontWrap>
  5258.         <dontSearch> <false /> </dontSearch>
  5259.         <sharedText> <false /> </sharedText>
  5260.         <fixedLineHeight> <true /> </fixedLineHeight>
  5261.         <autoTab> <false /> </autoTab>
  5262.         <lockText> <true /> </lockText>
  5263.         <rect>
  5264.             <left>120</left>
  5265.             <top>2</top>
  5266.             <right>380</right>
  5267.             <bottom>339</bottom>
  5268.         </rect>
  5269.         <style>shadow</style>
  5270.         <autoSelect> <false /> </autoSelect>
  5271.         <showLines> <false /> </showLines>
  5272.         <wideMargins> <true /> </wideMargins>
  5273.         <multipleLines> <false /> </multipleLines>
  5274.         <reservedFamily> 0 </reservedFamily>
  5275.         <titleWidth>0</titleWidth>
  5276.         <icon>0</icon>
  5277.         <textAlign>left</textAlign>
  5278.         <font>Geneva</font>
  5279.         <textSize>9</textSize>
  5280.         <textStyle>plain</textStyle>
  5281.         <textHeight>10</textHeight>
  5282.         <name></name>
  5283.         <script></script>
  5284.     </part>
  5285.     <part>
  5286.         <id>18</id>
  5287.         <type>button</type>
  5288.         <visible> <false /> </visible>
  5289.         <reserved5> 0 </reserved5>
  5290.         <reserved4> 0 </reserved4>
  5291.         <reserved3> 0 </reserved3>
  5292.         <reserved2> 0 </reserved2>
  5293.         <reserved1> 0 </reserved1>
  5294.         <enabled> <true /> </enabled>
  5295.         <rect>
  5296.             <left>264</left>
  5297.             <top>308</top>
  5298.             <right>347</right>
  5299.             <bottom>329</bottom>
  5300.         </rect>
  5301.         <style>roundrect</style>
  5302.         <showName> <true /> </showName>
  5303.         <highlight> <false /> </highlight>
  5304.         <autoHighlight> <true /> </autoHighlight>
  5305.         <sharedHighlight> <true /> </sharedHighlight>
  5306.         <family>0</family>
  5307.         <titleWidth>0</titleWidth>
  5308.         <icon>0</icon>
  5309.         <textAlign>center</textAlign>
  5310.         <font>Geneva</font>
  5311.         <textSize>12</textSize>
  5312.         <textStyle>plain</textStyle>
  5313.         <name>Next FOND</name>
  5314.         <script>on mouseUp
  5315. DisplayResult
  5316. end mouseUp
  5317. </script>
  5318.     </part>
  5319.     <part>
  5320.         <id>19</id>
  5321.         <type>button</type>
  5322.         <visible> <false /> </visible>
  5323.         <reserved5> 0 </reserved5>
  5324.         <reserved4> 0 </reserved4>
  5325.         <reserved3> 0 </reserved3>
  5326.         <reserved2> 0 </reserved2>
  5327.         <reserved1> 0 </reserved1>
  5328.         <enabled> <true /> </enabled>
  5329.         <rect>
  5330.             <left>155</left>
  5331.             <top>309</top>
  5332.             <right>238</right>
  5333.             <bottom>330</bottom>
  5334.         </rect>
  5335.         <style>roundrect</style>
  5336.         <showName> <true /> </showName>
  5337.         <highlight> <false /> </highlight>
  5338.         <autoHighlight> <true /> </autoHighlight>
  5339.         <sharedHighlight> <true /> </sharedHighlight>
  5340.         <family>0</family>
  5341.         <titleWidth>0</titleWidth>
  5342.         <icon>0</icon>
  5343.         <textAlign>center</textAlign>
  5344.         <font>Geneva</font>
  5345.         <textSize>12</textSize>
  5346.         <textStyle>plain</textStyle>
  5347.         <name>Cancel</name>
  5348.         <script>on mouseUp
  5349. showhide false
  5350. end mouseUp
  5351. </script>
  5352.     </part>
  5353.     <part>
  5354.         <id>20</id>
  5355.         <type>field</type>
  5356.         <visible> <false /> </visible>
  5357.         <dontWrap> <false /> </dontWrap>
  5358.         <dontSearch> <false /> </dontSearch>
  5359.         <sharedText> <false /> </sharedText>
  5360.         <fixedLineHeight> <true /> </fixedLineHeight>
  5361.         <autoTab> <false /> </autoTab>
  5362.         <lockText> <true /> </lockText>
  5363.         <rect>
  5364.             <left>227</left>
  5365.             <top>2</top>
  5366.             <right>375</right>
  5367.             <bottom>237</bottom>
  5368.         </rect>
  5369.         <style>transparent</style>
  5370.         <autoSelect> <false /> </autoSelect>
  5371.         <showLines> <false /> </showLines>
  5372.         <wideMargins> <true /> </wideMargins>
  5373.         <multipleLines> <false /> </multipleLines>
  5374.         <reservedFamily> 0 </reservedFamily>
  5375.         <titleWidth>0</titleWidth>
  5376.         <icon>0</icon>
  5377.         <textAlign>left</textAlign>
  5378.         <font>Geneva</font>
  5379.         <textSize>9</textSize>
  5380.         <textStyle>plain</textStyle>
  5381.         <textHeight>10</textHeight>
  5382.         <name>Result</name>
  5383.         <script></script>
  5384.     </part>
  5385.     <part>
  5386.         <id>21</id>
  5387.         <type>field</type>
  5388.         <visible> <false /> </visible>
  5389.         <dontWrap> <false /> </dontWrap>
  5390.         <dontSearch> <false /> </dontSearch>
  5391.         <sharedText> <false /> </sharedText>
  5392.         <fixedLineHeight> <true /> </fixedLineHeight>
  5393.         <autoTab> <false /> </autoTab>
  5394.         <lockText> <true /> </lockText>
  5395.         <rect>
  5396.             <left>135</left>
  5397.             <top>249</top>
  5398.             <right>367</right>
  5399.             <bottom>302</bottom>
  5400.         </rect>
  5401.         <style>scrolling</style>
  5402.         <autoSelect> <false /> </autoSelect>
  5403.         <showLines> <false /> </showLines>
  5404.         <wideMargins> <false /> </wideMargins>
  5405.         <multipleLines> <false /> </multipleLines>
  5406.         <reservedFamily> 0 </reservedFamily>
  5407.         <titleWidth>0</titleWidth>
  5408.         <icon>0</icon>
  5409.         <textAlign>left</textAlign>
  5410.         <font>Geneva</font>
  5411.         <textSize>9</textSize>
  5412.         <textStyle>plain</textStyle>
  5413.         <textHeight>10</textHeight>
  5414.         <name>List</name>
  5415.         <script></script>
  5416.     </part>
  5417.     <content>
  5418.         <layer>card</layer>
  5419.         <id>1</id>
  5420.         <text>
  5421.  
  5422.                                         FontMaster stack 1.2 
  5423.  
  5424.                                          by Fr├⌐d├⌐ric RINALDI
  5425.  
  5426.  
  5427.    This stack contains two externals, FontInfos XFCn & FontRenum XCMD, which allow to handle fonts withing files.
  5428.  
  5429.  
  5430.  
  5431.                                               FontInfos 1.2 
  5432.  
  5433.  
  5434. DESCRIPTION
  5435. ------------
  5436.   FontInfos returns full information on fonts in a file according to the FOND resources.
  5437.  
  5438.  
  5439. SYNTAX
  5440. --------
  5441.         FontInfos(<file name or pathName>[,<item delim>[,<line delim>]])
  5442.  
  5443.  
  5444. PARAMETERS
  5445. ------------
  5446.    <file name or pathName> can be a single name or whole pathname of a file or of an alias pointing to it. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  5447.  
  5448.    <item delim> allows to use an unusual item delimiter. Default is comma.
  5449.  
  5450.    <line delim> allows to use an unusual line delimiter. Default is return.
  5451.  
  5452.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  5453.  
  5454.  
  5455. USING
  5456. -----
  5457.    The XFCN returns a return delimited list of entries, each entry having the following items :
  5458.    1) name                       : name of FOND resource
  5459.    2) ID                           : ID of FOND resource
  5460.    3) flag 1                      : true is there's an image-height table
  5461.    4) flag 2                      : true is there's an character-width table
  5462.    5) flag 3                      : true when FractEnable should be ignored
  5463.    6) flag 4                      : true to use integer extra width style variation
  5464.    7) flag 5                      : true when family width table should be ignored
  5465.    8) flag 6                      : true for fixed-width font
  5466.    9) famID                      : family ID number
  5467.  10) firstChar                 : ASCII code of the first char
  5468.  11) lastChar                  : ASCII code of the last char
  5469.  12) ascent                     : maximum ascent for 1 pt font
  5470.  13) descent                   : maximum descent for 1 pt font
  5471.  14) leading                    : maximum leading for 1 pt font
  5472.  15) widMax                   : maximum width for 1 pt font
  5473.  16) property 1              : extra width for bold text
  5474.  17) property 2              : extra width for italic text
  5475.  18) property 3              : extra width for underline text
  5476.  19) property 4              : extra width for outline text
  5477.  20) property 5              : extra width for shadow text
  5478.  21) property 6              : extra width for condensed text
  5479.  22) property 7              : extra width for extended text
  5480.  23) version                   : version number
  5481.   ΓǪ) assoc 1[ΓǪ,assoc N] : font association table for each corresponding 
  5482.                                         NFNT or FONT resource, where each <assoc> is a 
  5483.                                         four items string  :
  5484.                                           "fontSize,fontStyle,resource type,resource ID"
  5485.                                         fontStyle containing one or more words giving 
  5486.                                         the style(s).
  5487.  
  5488.  
  5489. ERRORS
  5490. -------
  5491. If an error occurs, FontInfos can return :
  5492.      "Error : Not a file"
  5493.      "Error : Alias file not supported"
  5494.      "Error : Volume not found"
  5495.      "Error : Bad Name"
  5496.      "Error : File not found"
  5497.      "Error : Folder not found"
  5498.      "Error : I/O Error"
  5499.      "Error : No resource fork"
  5500.      "Error : AppleShare insufficient privileges"
  5501.      "Error : Out of memory"
  5502.      "Error : Missing or empty parameter"
  5503.      "Error : No FOND resource"
  5504.  
  5505.  
  5506. HISTORY
  5507. --------
  5508. 1.2                                                                                            10/10/91
  5509. ΓÇó remove dummy SysBeep occuring with System < 6.0.7
  5510. ΓÇó added sfnt resource support
  5511.  
  5512. 1.1                                                                                            10/03/91
  5513. ΓÇó added resource type in each entry of font association table
  5514.  
  5515.  
  5516.  
  5517.                                             FontRenum 1.2 
  5518.  
  5519.  
  5520. DESCRIPTION
  5521. ------------
  5522.   FontRenum allows to renumber a FOND resource or associated FONT/NFNT/sfnt resources.
  5523.  
  5524. SYNTAX
  5525. --------
  5526.           FontRenum <file name or pathName>,<FOND name>,
  5527.                            <sfnt/NFNT/FONT current id>,<sfnt/NFNT/FONT new id>
  5528.  
  5529. PARAMETERS
  5530. ------------
  5531.    <file name or pathName> can be a single name or whole pathname of a file or of an alias pointing to it. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  5532.  
  5533.    <FOND name> is a string giving the FONF resource name (ie name of the font). Passing "FOND" in this parameter allows to renumber the FOND resource itself rather than linked resources.
  5534.  
  5535.    <sfnt/NFNT/FONT current id> is an integer giving the current resource id.
  5536.  
  5537.    <sfnt/NFNT/FONT new id> is an integer giving the desired new id.
  5538.  
  5539.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  5540.  
  5541.  
  5542. USING
  5543. -----
  5544.    Renumbering sfnt/NFNT/FONT resources also updates its ID entry in the font association table of the FOND resource.
  5545.  
  5546.  
  5547. ERRORS
  5548. -------
  5549. If an error occurs, FontRenum can return :
  5550.      "Error : Not a file"
  5551.      "Error : Alias file not supported"
  5552.      "Error : Volume not found"
  5553.      "Error : Bad Name"
  5554.      "Error : File not found"
  5555.      "Error : Folder not found"
  5556.      "Error : I/O Error"
  5557.      "Error : No resource fork"
  5558.      "Error : AppleShare insufficient privileges"
  5559.      "Error : Missing or empty parameter(s)"
  5560.      "Error : Incorrect current ID"
  5561.      "Error : Incorrect new ID"
  5562.      "Error : FOND resource not found"
  5563.      "Error : FONT/NFNT entry not found in FOND resource"
  5564.  
  5565. HISTORY
  5566. --------
  5567. 1.2                                                                                            10/15/91
  5568. ΓÇó FamID is changed when FOND resource is renumbered
  5569.  
  5570. 1.1                                                                                            10/10/91
  5571. ΓÇó remove dummy SysBeep occuring with System < 6.0.7
  5572. ΓÇó added sfnt resource support
  5573. </text>
  5574.     </content>
  5575.     <content>
  5576.         <layer>card</layer>
  5577.         <id>17</id>
  5578.         <text>   1) name
  5579.    2) ID
  5580.    3) flag 1
  5581.    4) flag 2
  5582.    5) flag 3
  5583.    6) flag 4
  5584.    7) flag 5
  5585.    8) flag 6
  5586.    9) famID
  5587.  10) firstChar
  5588.  11) lastChar
  5589.  12) ascent
  5590.  13) descent
  5591.  14) leading
  5592.  15) widMax
  5593.  16) property 1
  5594.  17) property 2
  5595.  18) property 3
  5596.  19) property 4
  5597.  20) property 5
  5598.  21) property 6
  5599.  22) property 7
  5600.  23) version
  5601.        font assoc table</text>
  5602.     </content>
  5603.     <content>
  5604.         <layer>card</layer>
  5605.         <id>20</id>
  5606.         <text>Courier
  5607. 22
  5608. false
  5609. false
  5610. false
  5611. false
  5612. true
  5613. true
  5614. 22
  5615. 0
  5616. 255
  5617. 8
  5618. 4
  5619. 5
  5620. 11
  5621. 0
  5622. 0
  5623. 0
  5624. 0
  5625. 0
  5626. -341
  5627. 341
  5628. 3</text>
  5629.     </content>
  5630.     <content>
  5631.         <layer>card</layer>
  5632.         <id>21</id>
  5633.         <text>0,Plain,sfnt,6000
  5634. </text>
  5635.     </content>
  5636.     <name>FontMaster 1.2</name>
  5637.     <script>
  5638.  
  5639.  
  5640.  
  5641. on opencard
  5642. end opencard
  5643.  
  5644. on closecard
  5645. showHide false
  5646. end closecard
  5647.  
  5648. on showHide How
  5649. ls
  5650.  
  5651. repeat with i=2 to 4
  5652. if i > 2
  5653. then set visible of btn i to How
  5654.  
  5655. set visible of cd fld i to How
  5656. end repeat
  5657. end showHide
  5658.  
  5659. on DisplayResult
  5660. global FondNb,FondResult
  5661.  
  5662. set cursor to watch
  5663.  
  5664. if FondNb Γëñ number of lines of FondResult
  5665. then
  5666. repeat with i=1 to 23
  5667. put item i of line FondNb of FondResult into line i ┬¼
  5668. of cd fld "Result"
  5669. end repeat
  5670.  
  5671. set scroll of cd fld "List" to 0
  5672. put empty into cd fld "List"
  5673.  
  5674. repeat with i=24 to number of items of line FondNb of FondResult
  5675. if (i mod 4 Γëá 0) and i Γëá 24
  5676. then next repeat
  5677.  
  5678. put item i to i+3 of line FondNb of FondResult & return┬¼
  5679. after cd fld "List"
  5680. end repeat
  5681.  
  5682. add 1 to FondNb
  5683. end if
  5684. end DisplayResult
  5685.  
  5686. </script>
  5687. </card>
  5688.  
  5689.  
  5690. card_48568.xml
  5691. <?xml version="1.0" encoding="utf-8" ?>
  5692. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5693. <card>
  5694.     <id>48568</id>
  5695.     <filler1>0</filler1>
  5696.     <bitmap>BMAP_54216.pbm</bitmap>
  5697.     <cantDelete> <false /> </cantDelete>
  5698.     <showPict> <true /> </showPict>
  5699.     <dontSearch> <false /> </dontSearch>
  5700.     <owner>46925</owner>
  5701.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  5702.     <part>
  5703.         <id>1</id>
  5704.         <type>field</type>
  5705.         <visible> <true /> </visible>
  5706.         <dontWrap> <false /> </dontWrap>
  5707.         <dontSearch> <false /> </dontSearch>
  5708.         <sharedText> <false /> </sharedText>
  5709.         <fixedLineHeight> <true /> </fixedLineHeight>
  5710.         <autoTab> <false /> </autoTab>
  5711.         <lockText> <true /> </lockText>
  5712.         <rect>
  5713.             <left>69</left>
  5714.             <top>68</top>
  5715.             <right>434</right>
  5716.             <bottom>252</bottom>
  5717.         </rect>
  5718.         <style>scrolling</style>
  5719.         <autoSelect> <false /> </autoSelect>
  5720.         <showLines> <false /> </showLines>
  5721.         <wideMargins> <false /> </wideMargins>
  5722.         <multipleLines> <false /> </multipleLines>
  5723.         <reservedFamily> 0 </reservedFamily>
  5724.         <titleWidth>0</titleWidth>
  5725.         <icon>0</icon>
  5726.         <textAlign>left</textAlign>
  5727.         <font>Geneva</font>
  5728.         <textSize>9</textSize>
  5729.         <textStyle>plain</textStyle>
  5730.         <textHeight>12</textHeight>
  5731.         <name>Text</name>
  5732.         <script></script>
  5733.     </part>
  5734.     <part>
  5735.         <id>2</id>
  5736.         <type>button</type>
  5737.         <visible> <true /> </visible>
  5738.         <reserved5> 0 </reserved5>
  5739.         <reserved4> 0 </reserved4>
  5740.         <reserved3> 0 </reserved3>
  5741.         <reserved2> 0 </reserved2>
  5742.         <reserved1> 0 </reserved1>
  5743.         <enabled> <true /> </enabled>
  5744.         <rect>
  5745.             <left>174</left>
  5746.             <top>281</top>
  5747.             <right>343</right>
  5748.             <bottom>311</bottom>
  5749.         </rect>
  5750.         <style>roundrect</style>
  5751.         <showName> <true /> </showName>
  5752.         <highlight> <false /> </highlight>
  5753.         <autoHighlight> <true /> </autoHighlight>
  5754.         <sharedHighlight> <true /> </sharedHighlight>
  5755.         <family>0</family>
  5756.         <titleWidth>0</titleWidth>
  5757.         <icon>0</icon>
  5758.         <textAlign>center</textAlign>
  5759.         <font>Geneva</font>
  5760.         <textSize>12</textSize>
  5761.         <textStyle>plain</textStyle>
  5762.         <name>FormatNum</name>
  5763.         <script>on mouseUp
  5764. ask "Number to format :" with "523.62"
  5765. if it is empty then exit mouseUp
  5766. put it into Nb
  5767. ask "Format string :" with "##0;(##0);'zero'"
  5768. if it is empty then exit mouseUp
  5769. answer FormatNum(Nb,it)
  5770. end mouseUp
  5771. </script>
  5772.     </part>
  5773.     <content>
  5774.         <layer>card</layer>
  5775.         <id>1</id>
  5776.         <text>
  5777.  
  5778.                                             FormatNum 1.0
  5779.  
  5780.                                           by Fr├⌐d├⌐ric RINALDI
  5781.  
  5782.  
  5783. DESCRIPTION
  5784. ------------
  5785.   FormatNum allows, like ExcelΓäó, to format numbers according to their sign.
  5786.  
  5787.  
  5788. SYNTAX
  5789. -------
  5790.                           FormatNum(<number>[,<format string>])
  5791.  
  5792.  
  5793. PARAMETERS
  5794. -------------
  5795.    <number> is the number to format.
  5796.  
  5797.    <format string> is a string defining the output format. Its shaped as :
  5798.  
  5799.              <format if positive[;format if negative[;format if null]]>
  5800.  
  5801.  
  5802.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  5803.  
  5804.  
  5805. USING
  5806. -----
  5807.    Each format can contain the chars #0^.,'\+-%E(). Filling is always done from the right. Format must provide at least as many chars as digits in the number.
  5808.  
  5809.  
  5810. ERRORS
  5811. -------
  5812. If an error occurs, FormatNum can return :
  5813.      "Error : Missing or empty parameter"
  5814.      "Error : Couldn't access partsTable"
  5815.      "Error : Bad format string"
  5816.  
  5817.  
  5818. HISTORY
  5819. --------
  5820. 1.0                                                                                        17/07/92
  5821. ΓÇó First public release
  5822. </text>
  5823.     </content>
  5824.     <name></name>
  5825.     <script></script>
  5826. </card>
  5827.  
  5828.  
  5829. card_15698.xml
  5830. <?xml version="1.0" encoding="utf-8" ?>
  5831. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  5832. <card>
  5833.     <id>15698</id>
  5834.     <filler1>0</filler1>
  5835.     <bitmap>BMAP_16004.pbm</bitmap>
  5836.     <cantDelete> <false /> </cantDelete>
  5837.     <showPict> <true /> </showPict>
  5838.     <dontSearch> <false /> </dontSearch>
  5839.     <owner>46925</owner>
  5840.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  5841.     <part>
  5842.         <id>1</id>
  5843.         <type>field</type>
  5844.         <visible> <true /> </visible>
  5845.         <dontWrap> <false /> </dontWrap>
  5846.         <dontSearch> <false /> </dontSearch>
  5847.         <sharedText> <false /> </sharedText>
  5848.         <fixedLineHeight> <true /> </fixedLineHeight>
  5849.         <autoTab> <false /> </autoTab>
  5850.         <lockText> <true /> </lockText>
  5851.         <rect>
  5852.             <left>69</left>
  5853.             <top>68</top>
  5854.             <right>434</right>
  5855.             <bottom>252</bottom>
  5856.         </rect>
  5857.         <style>scrolling</style>
  5858.         <autoSelect> <false /> </autoSelect>
  5859.         <showLines> <false /> </showLines>
  5860.         <wideMargins> <false /> </wideMargins>
  5861.         <multipleLines> <false /> </multipleLines>
  5862.         <reservedFamily> 0 </reservedFamily>
  5863.         <titleWidth>0</titleWidth>
  5864.         <icon>0</icon>
  5865.         <textAlign>left</textAlign>
  5866.         <font>Geneva</font>
  5867.         <textSize>9</textSize>
  5868.         <textStyle>plain</textStyle>
  5869.         <textHeight>12</textHeight>
  5870.         <name></name>
  5871.         <script>on mouseEnter
  5872. FullBalloons "ShowSTR","5000"
  5873. end mouseEnter</script>
  5874.     </part>
  5875.     <part>
  5876.         <id>5</id>
  5877.         <type>button</type>
  5878.         <visible> <true /> </visible>
  5879.         <reserved5> 0 </reserved5>
  5880.         <reserved4> 0 </reserved4>
  5881.         <reserved3> 0 </reserved3>
  5882.         <reserved2> 0 </reserved2>
  5883.         <reserved1> 0 </reserved1>
  5884.         <enabled> <true /> </enabled>
  5885.         <rect>
  5886.             <left>174</left>
  5887.             <top>263</top>
  5888.             <right>343</right>
  5889.             <bottom>293</bottom>
  5890.         </rect>
  5891.         <style>roundrect</style>
  5892.         <showName> <true /> </showName>
  5893.         <highlight> <false /> </highlight>
  5894.         <autoHighlight> <true /> </autoHighlight>
  5895.         <sharedHighlight> <true /> </sharedHighlight>
  5896.         <family>0</family>
  5897.         <titleWidth>0</titleWidth>
  5898.         <icon>0</icon>
  5899.         <textAlign>center</textAlign>
  5900.         <font>Geneva</font>
  5901.         <textSize>12</textSize>
  5902.         <textStyle>plain</textStyle>
  5903.         <name>Activer l'aide bulles</name>
  5904.         <script>on mouseEnter
  5905. FullBalloons "ShowDirect","This is a showDirect call"
  5906. end mouseEnter
  5907.  
  5908. on mouseUp
  5909. get short name of me
  5910.  
  5911. if last word of it is "OFF"
  5912. then
  5913. put "ON" into last word of it
  5914. FullBalloons "Off"
  5915. else
  5916. put "OFF" into last word of it
  5917. FullBalloons "On"
  5918. end if
  5919.  
  5920. if first word of the Result is "Error"
  5921. then answer the Result
  5922. else set name of me to it
  5923. end mouseUp</script>
  5924.     </part>
  5925.     <part>
  5926.         <id>17</id>
  5927.         <type>button</type>
  5928.         <visible> <true /> </visible>
  5929.         <reserved5> 0 </reserved5>
  5930.         <reserved4> 0 </reserved4>
  5931.         <reserved3> 0 </reserved3>
  5932.         <reserved2> 0 </reserved2>
  5933.         <reserved1> 0 </reserved1>
  5934.         <enabled> <true /> </enabled>
  5935.         <rect>
  5936.             <left>3</left>
  5937.             <top>0</top>
  5938.             <right>88</right>
  5939.             <bottom>18</bottom>
  5940.         </rect>
  5941.         <style>transparent</style>
  5942.         <showName> <false /> </showName>
  5943.         <highlight> <false /> </highlight>
  5944.         <autoHighlight> <false /> </autoHighlight>
  5945.         <sharedHighlight> <true /> </sharedHighlight>
  5946.         <family>0</family>
  5947.         <titleWidth>0</titleWidth>
  5948.         <icon>0</icon>
  5949.         <textAlign>center</textAlign>
  5950.         <font>Geneva</font>
  5951.         <textSize>12</textSize>
  5952.         <textStyle>plain</textStyle>
  5953.         <name></name>
  5954.         <script>on mouseEnter
  5955. FullBalloons "ShowPICT",5000
  5956. end mouseEnter</script>
  5957.     </part>
  5958.     <part>
  5959.         <id>18</id>
  5960.         <type>button</type>
  5961.         <visible> <true /> </visible>
  5962.         <reserved5> 0 </reserved5>
  5963.         <reserved4> 0 </reserved4>
  5964.         <reserved3> 0 </reserved3>
  5965.         <reserved2> 0 </reserved2>
  5966.         <reserved1> 0 </reserved1>
  5967.         <enabled> <true /> </enabled>
  5968.         <rect>
  5969.             <left>246</left>
  5970.             <top>15</top>
  5971.             <right>369</right>
  5972.             <bottom>61</bottom>
  5973.         </rect>
  5974.         <style>transparent</style>
  5975.         <showName> <false /> </showName>
  5976.         <highlight> <false /> </highlight>
  5977.         <autoHighlight> <false /> </autoHighlight>
  5978.         <sharedHighlight> <true /> </sharedHighlight>
  5979.         <family>0</family>
  5980.         <titleWidth>0</titleWidth>
  5981.         <icon>0</icon>
  5982.         <textAlign>center</textAlign>
  5983.         <font>Geneva</font>
  5984.         <textSize>12</textSize>
  5985.         <textStyle>plain</textStyle>
  5986.         <name></name>
  5987.         <script>on mouseEnter
  5988. FullBalloons "ShowStr#","5000,2"
  5989. end mouseEnter</script>
  5990.     </part>
  5991.     <part>
  5992.         <id>19</id>
  5993.         <type>button</type>
  5994.         <visible> <true /> </visible>
  5995.         <reserved5> 0 </reserved5>
  5996.         <reserved4> 0 </reserved4>
  5997.         <reserved3> 0 </reserved3>
  5998.         <reserved2> 0 </reserved2>
  5999.         <reserved1> 0 </reserved1>
  6000.         <enabled> <true /> </enabled>
  6001.         <rect>
  6002.             <left>120</left>
  6003.             <top>15</top>
  6004.             <right>241</right>
  6005.             <bottom>61</bottom>
  6006.         </rect>
  6007.         <style>transparent</style>
  6008.         <showName> <false /> </showName>
  6009.         <highlight> <false /> </highlight>
  6010.         <autoHighlight> <false /> </autoHighlight>
  6011.         <sharedHighlight> <true /> </sharedHighlight>
  6012.         <family>0</family>
  6013.         <titleWidth>0</titleWidth>
  6014.         <icon>0</icon>
  6015.         <textAlign>center</textAlign>
  6016.         <font>Geneva</font>
  6017.         <textSize>12</textSize>
  6018.         <textStyle>plain</textStyle>
  6019.         <name></name>
  6020.         <script>on mouseEnter
  6021. FullBalloons "ShowStr#","5000,1"
  6022. end mouseEnter</script>
  6023.     </part>
  6024.     <part>
  6025.         <id>20</id>
  6026.         <type>button</type>
  6027.         <visible> <true /> </visible>
  6028.         <reserved5> 0 </reserved5>
  6029.         <reserved4> 0 </reserved4>
  6030.         <reserved3> 0 </reserved3>
  6031.         <reserved2> 0 </reserved2>
  6032.         <reserved1> 0 </reserved1>
  6033.         <enabled> <true /> </enabled>
  6034.         <rect>
  6035.             <left>403</left>
  6036.             <top>2</top>
  6037.             <right>430</right>
  6038.             <bottom>20</bottom>
  6039.         </rect>
  6040.         <style>transparent</style>
  6041.         <showName> <false /> </showName>
  6042.         <highlight> <false /> </highlight>
  6043.         <autoHighlight> <false /> </autoHighlight>
  6044.         <sharedHighlight> <true /> </sharedHighlight>
  6045.         <family>0</family>
  6046.         <titleWidth>0</titleWidth>
  6047.         <icon>0</icon>
  6048.         <textAlign>center</textAlign>
  6049.         <font>Geneva</font>
  6050.         <textSize>12</textSize>
  6051.         <textStyle>plain</textStyle>
  6052.         <name></name>
  6053.         <script>on mouseEnter
  6054. FullBalloons "ShowTEXT",5000
  6055. end mouseEnter</script>
  6056.     </part>
  6057.     <part>
  6058.         <id>23</id>
  6059.         <type>field</type>
  6060.         <visible> <true /> </visible>
  6061.         <dontWrap> <false /> </dontWrap>
  6062.         <dontSearch> <false /> </dontSearch>
  6063.         <sharedText> <false /> </sharedText>
  6064.         <fixedLineHeight> <true /> </fixedLineHeight>
  6065.         <autoTab> <false /> </autoTab>
  6066.         <lockText> <false /> </lockText>
  6067.         <rect>
  6068.             <left>136</left>
  6069.             <top>306</top>
  6070.             <right>394</right>
  6071.             <bottom>327</bottom>
  6072.         </rect>
  6073.         <style>shadow</style>
  6074.         <autoSelect> <false /> </autoSelect>
  6075.         <showLines> <false /> </showLines>
  6076.         <wideMargins> <false /> </wideMargins>
  6077.         <multipleLines> <false /> </multipleLines>
  6078.         <reservedFamily> 0 </reservedFamily>
  6079.         <titleWidth>0</titleWidth>
  6080.         <icon>0</icon>
  6081.         <textAlign>left</textAlign>
  6082.         <font>Geneva</font>
  6083.         <textSize>12</textSize>
  6084.         <textStyle>plain</textStyle>
  6085.         <textHeight>16</textHeight>
  6086.         <name></name>
  6087.         <script>on mouseEnter
  6088. FullBalloons "ShowField",the target
  6089. end mouseEnter
  6090.  
  6091. on openField
  6092. FullBalloons "remove"
  6093. end openField</script>
  6094.     </part>
  6095.     <content>
  6096.         <layer>card</layer>
  6097.         <id>1</id>
  6098.         <text>
  6099.  
  6100.                                              FullBalloons 1.0
  6101.  
  6102.                                           by Fr├⌐d├⌐ric RINALDI
  6103.  
  6104.  
  6105.    Yet another HyperCard Balloon Help external ? Nope. Just because I think that the previous sets provided by other developers dont fit the real user needs, have too impenetrable parameters, are simply buggy or hard to implement, or miss some features provided by Help Mgr. So, once again, I wrote it by myself,  assuming that :
  6106.    ΓÇó One global XCMD is the best approach, since most of time result is not needed if the external is well done.
  6107.    ΓÇó It must check for Help Mgr availability rather than simply bomb under System 6 (don't laugh, I've got one like that !)
  6108.    ΓÇó All parameters must be case insensitive to be more user-friendly, and whenever possible, be in any order in the external call (read EDGE !)
  6109.    ΓÇó One HyperTalk statements with two minimal parameters must fit 90% of the needs, including auto-removing, correctly placing the tip, etc...
  6110.    ΓÇó No user has to deal with variant code 0..7 to set the tip location on the balloon. Who can remember that, when "topLeft" or "rightBottom" are self-explaining ?
  6111.    ΓÇó Styled text is available in Balloon Help so why not implement it also ?
  6112.  
  6113.  
  6114. DESCRIPTION
  6115. ------------
  6116.   FullBalloons allows to add Balloon Help in a stack.
  6117.  
  6118.  
  6119. SYNTAX
  6120. -------
  6121.               FullBalloons <action>[,<balloon content>[,<tipLoc>]
  6122.                                  [,<hotRect>][,<tipPosition>]]
  6123.  
  6124. PARAMETERS
  6125.    Only param 1 is only needed param, param 2 is needed only when param 1 is "showΓǪ". All other params are optional and can be in any order.
  6126.  
  6127.    <action> is the action string, of course case insensitive, and can be :
  6128.        on                 : turn balloon Help on
  6129.        off                : turn balloon Help off
  6130.        isOn              : test if Balloon Help is on or off
  6131.        isShowing     : test if a balloon is currently showing
  6132.        showDirect   : show a balloon using litteral parameter 
  6133.        showPICT     : show a balloon using a PICT resource
  6134.        showSTR      : show a balloon using a STR resource
  6135.        showSTR#    : show a balloon using a STR# resource
  6136.        showField     : show a balloon using styled text from a field
  6137.        ShowTEXT    : show a balloon using  TEXT and styl resources
  6138.        remove        : remove currently showing balloon
  6139.  
  6140.    <balloon content> is only needed when first param begins with "showΓǪ". Depending on choosen action, this param will be :
  6141.        showDirect   : a litteral string or any container
  6142.        showPICT     : a PICT resource ID
  6143.        showSTR      : a STR resource ID
  6144.        showSTR#    : a two item string "ID,index" where ID the the STR# 
  6145.                              resource ID and index the string number in it.
  6146.        showField     : a string giving the field descriptor. It can be any valid 
  6147.                              descriptor (name, number or ID), and must be enclosed 
  6148.                              in quotes (like "cd fld 1" or "bg fld id 52")
  6149.        ShowTEXT    : a TEXT/styl resources ID
  6150.  
  6151.    <tipLoc> is a point giving the location of the balloon tip. Default is the current mouseLoc.
  6152.  
  6153.    <hotRect> is a rect giving the area where the balloon disappears as soon as the mouse is not in anymore. Default is the rect of target object, since calls to FullBalloons use MouseEnter handler.
  6154.  
  6155.    <tipPosition> is the position of the tip on the balloon. Default is leftTop, but the Help Mgr always can change it to make the balloon fit on screen. If you want to force it the a specific position, the parameter can be :
  6156.    leftTop,topLeft,rightTop,topRight,bottomRight,rightBottom,bottomLeft,leftBottom.
  6157.  
  6158.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  6159.  
  6160.  
  6161. USING
  6162. -----
  6163.    FullBalloons is usually callled in a MouseEnter handler. Since balloon disposing is automatic, no mouseLeave handler is needed.
  6164.  
  6165.    With unlocked fields, a good practice is the hide the balloon as soon as clicked in the field :
  6166.      on openField
  6167.        FullBalloons "remove"
  6168.      end openField
  6169.  
  6170.    You don't need to test for Balloon Help state (on/off) before calling showBalloon "showΓǪ". The external doest it for you.
  6171.  
  6172.    You don't need to test for that summy -853 error code coming from a too quick cursor movement, nor need a special handler for it. Once again, that stuff is done by the XCMD.
  6173.  
  6174.    Since Help Mgr is quite slow, quickly moving the mouse around can sometimes be too fast for mouseEnter messages to be send. One good workaround is too add in the stack script :
  6175.  
  6176.      on mouseWithin
  6177.        get word 1 to 2 of the target && number of the target
  6178.   
  6179.        FullBalloons "IsShowing"
  6180.   
  6181.        if not the Result and it Γëá the selectedField
  6182.        then send mouseEnter to the target
  6183.      end mouseWithin
  6184.  
  6185.  
  6186. ERRORS
  6187. -------
  6188. If an error occurs, FullBalloons can return :
  6189.  
  6190.      "Error : Balloons Help not supported"
  6191.      "Error : Missing or empty parameter"
  6192.      "Error : Bad action parameter"
  6193.      "Error : Missing balloon content parameter"
  6194.      "Error : Missing STR# index"
  6195.      "Error : Bad field descriptor"
  6196.      "Error : TEXT resource cannot exceed 255 chars"
  6197.      "Error : HotRect defined twice"
  6198.      "Error : TipLoc defined twice"
  6199.      "Error : TipPosition defined twice"
  6200.      "Error : Bad tipPosition parameter"
  6201.      "Error : Out of memory"
  6202.      "Error : Resource not found"
  6203. </text>
  6204.     </content>
  6205.     <content>
  6206.         <layer>card</layer>
  6207.         <id>23</id>
  6208.         <text>Editing field just for funΓǪ
  6209. </text>
  6210.     </content>
  6211.     <name>FullBalloons 1.0</name>
  6212.     <script>
  6213.  
  6214.  
  6215.  
  6216. on opencard
  6217. FullBalloons "IsOn"
  6218. if the Result is true
  6219. then set name of btn 1 to "D├⌐sactiver l'aide bulles"
  6220. else set name of btn 1 to "Activer l'aide bulles"
  6221. end opencard
  6222.  
  6223. on closeCard
  6224. end closeCard
  6225.  
  6226. on mouseWithin
  6227. get word 1 to 2 of the target && number of the target
  6228.  
  6229. FullBalloons "IsShowing"
  6230.  
  6231. if the Result is false and it Γëá the selectedField
  6232. then send mouseEnter to the target
  6233. end mouseWithin
  6234.  
  6235.  
  6236. </script>
  6237. </card>
  6238.  
  6239.  
  6240. card_16310.xml
  6241. <?xml version="1.0" encoding="utf-8" ?>
  6242. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6243. <card>
  6244.     <id>16310</id>
  6245.     <filler1>0</filler1>
  6246.     <bitmap>BMAP_20629.pbm</bitmap>
  6247.     <cantDelete> <false /> </cantDelete>
  6248.     <showPict> <true /> </showPict>
  6249.     <dontSearch> <false /> </dontSearch>
  6250.     <owner>46925</owner>
  6251.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  6252.     <part>
  6253.         <id>1</id>
  6254.         <type>field</type>
  6255.         <visible> <true /> </visible>
  6256.         <dontWrap> <false /> </dontWrap>
  6257.         <dontSearch> <false /> </dontSearch>
  6258.         <sharedText> <false /> </sharedText>
  6259.         <fixedLineHeight> <true /> </fixedLineHeight>
  6260.         <autoTab> <false /> </autoTab>
  6261.         <lockText> <true /> </lockText>
  6262.         <rect>
  6263.             <left>69</left>
  6264.             <top>68</top>
  6265.             <right>434</right>
  6266.             <bottom>252</bottom>
  6267.         </rect>
  6268.         <style>scrolling</style>
  6269.         <autoSelect> <false /> </autoSelect>
  6270.         <showLines> <false /> </showLines>
  6271.         <wideMargins> <false /> </wideMargins>
  6272.         <multipleLines> <false /> </multipleLines>
  6273.         <reservedFamily> 0 </reservedFamily>
  6274.         <titleWidth>0</titleWidth>
  6275.         <icon>0</icon>
  6276.         <textAlign>left</textAlign>
  6277.         <font>Geneva</font>
  6278.         <textSize>9</textSize>
  6279.         <textStyle>plain</textStyle>
  6280.         <textHeight>12</textHeight>
  6281.         <name></name>
  6282.         <script></script>
  6283.     </part>
  6284.     <part>
  6285.         <id>5</id>
  6286.         <type>button</type>
  6287.         <visible> <true /> </visible>
  6288.         <reserved5> 0 </reserved5>
  6289.         <reserved4> 0 </reserved4>
  6290.         <reserved3> 0 </reserved3>
  6291.         <reserved2> 0 </reserved2>
  6292.         <reserved1> 0 </reserved1>
  6293.         <enabled> <true /> </enabled>
  6294.         <rect>
  6295.             <left>122</left>
  6296.             <top>259</top>
  6297.             <right>202</right>
  6298.             <bottom>336</bottom>
  6299.         </rect>
  6300.         <style>shadow</style>
  6301.         <showName> <true /> </showName>
  6302.         <highlight> <false /> </highlight>
  6303.         <autoHighlight> <true /> </autoHighlight>
  6304.         <sharedHighlight> <true /> </sharedHighlight>
  6305.         <family>0</family>
  6306.         <titleWidth>0</titleWidth>
  6307.         <icon>0</icon>
  6308.         <textAlign>center</textAlign>
  6309.         <font>Geneva</font>
  6310.         <textSize>12</textSize>
  6311.         <textStyle>plain</textStyle>
  6312.         <name>Drag meΓǪ</name>
  6313.         <script>on mouseDown
  6314. DoMove
  6315. end mouseDown</script>
  6316.     </part>
  6317.     <part>
  6318.         <id>20</id>
  6319.         <type>button</type>
  6320.         <visible> <true /> </visible>
  6321.         <reserved5> 0 </reserved5>
  6322.         <reserved4> 0 </reserved4>
  6323.         <reserved3> 0 </reserved3>
  6324.         <reserved2> 0 </reserved2>
  6325.         <reserved1> 0 </reserved1>
  6326.         <enabled> <true /> </enabled>
  6327.         <rect>
  6328.             <left>325</left>
  6329.             <top>259</top>
  6330.             <right>405</right>
  6331.             <bottom>336</bottom>
  6332.         </rect>
  6333.         <style>shadow</style>
  6334.         <showName> <true /> </showName>
  6335.         <highlight> <false /> </highlight>
  6336.         <autoHighlight> <true /> </autoHighlight>
  6337.         <sharedHighlight> <true /> </sharedHighlight>
  6338.         <family>0</family>
  6339.         <titleWidth>0</titleWidth>
  6340.         <icon>0</icon>
  6341.         <textAlign>center</textAlign>
  6342.         <font>Geneva</font>
  6343.         <textSize>12</textSize>
  6344.         <textStyle>plain</textStyle>
  6345.         <name>ΓǪor me</name>
  6346.         <script>on mouseDown
  6347. doMove
  6348. end mouseDown</script>
  6349.     </part>
  6350.     <part>
  6351.         <id>21</id>
  6352.         <type>button</type>
  6353.         <visible> <true /> </visible>
  6354.         <reserved5> 0 </reserved5>
  6355.         <reserved4> 0 </reserved4>
  6356.         <reserved3> 0 </reserved3>
  6357.         <reserved2> 0 </reserved2>
  6358.         <reserved1> 0 </reserved1>
  6359.         <enabled> <true /> </enabled>
  6360.         <rect>
  6361.             <left>243</left>
  6362.             <top>304</top>
  6363.             <right>279</right>
  6364.             <bottom>340</bottom>
  6365.         </rect>
  6366.         <style>transparent</style>
  6367.         <showName> <false /> </showName>
  6368.         <highlight> <false /> </highlight>
  6369.         <autoHighlight> <false /> </autoHighlight>
  6370.         <sharedHighlight> <true /> </sharedHighlight>
  6371.         <family>0</family>
  6372.         <titleWidth>0</titleWidth>
  6373.         <icon>130</icon>
  6374.         <textAlign>center</textAlign>
  6375.         <font>Geneva</font>
  6376.         <textSize>12</textSize>
  6377.         <textStyle>plain</textStyle>
  6378.         <name></name>
  6379.         <script></script>
  6380.     </part>
  6381.     <content>
  6382.         <layer>card</layer>
  6383.         <id>1</id>
  6384.         <text>
  6385.  
  6386.                                                FullDrag 1.3
  6387.  
  6388.                                           by Fr├⌐d├⌐ric RINALDI
  6389.  
  6390.  
  6391. DESCRIPTION
  6392. ------------
  6393.   FullDrag XFCN allows to drag a gray outline of one or more rectangles, and even test a condition while dragging.
  6394.  
  6395.  
  6396. SYNTAX
  6397. --------
  6398.        FullDrag (<rect(s)>[,<limit rect>[,<test>,<if true>[,<if false>]]])
  6399.  
  6400. PARAMETERS
  6401. ------------
  6402.    <rect(s)> can be a single rect, or a return delimited list of many rectangles.
  6403.  
  6404.    <limit rect> defines the maximal area for dragging.
  6405.  
  6406.    <test> string is an HyperTalk boolean statement (like "the mouseLoc is within rect of fld 1") which will be repetitivly evaluated while dragging.
  6407.  
  6408.    <if true> and <if false> are two Hypertalk statement string which will be executed when the test string will return true or false.
  6409.  
  6410.     As usual, using "!", "?" et "=" returns online help (resp. about, syntax and output).
  6411.  
  6412.  
  6413. USING
  6414. -----
  6415.    If the mouse button is released within limit rect, the XFCN will return a two items string "x,y" corresponding to the horizontal and vertical move from the original point. If the mouse is released outside, the result will be empty.
  6416.    Holding shift key allows to constraint move to horizontal or vertical axis.
  6417.  
  6418.  
  6419. ERRORS
  6420. -------
  6421. If an error occurs, the XFCN can return :
  6422.      "Error : Missing or empty rect parameter"
  6423.      "Error : Incorrect rect in param #1"
  6424.      "Error : Incorrect limit rect"
  6425.      "Error : Incorrect Test string"
  6426.      "Error : Missing action if true"
  6427.  
  6428.  
  6429. HISTORY
  6430. --------
  6431. 1.3                                                                                            06/28/92
  6432. ΓÇó Fixed bug with rapid double-click.
  6433.  
  6434. 1.2                                                                                            02/23/92
  6435. ΓÇó Fixed pattern bug with SuperCard.
  6436. ΓÇó Constraint detection has been enhanced
  6437.  
  6438. 1.1                                                                                            12/26/91
  6439. ΓÇó Changed way to pass parameter to FilterProc
  6440. ΓÇó Refresh of screen on output
  6441. ΓÇó Added move constraints
  6442. </text>
  6443.     </content>
  6444.     <name></name>
  6445.     <script>on DoMove
  6446. put rect of btn 1 & return & rect of btn 2 into RectList
  6447.  
  6448. put fulldrag(RectList,"0,0,512,342",┬¼
  6449. "the mouseLoc is within rect of btn 3",┬¼
  6450. "set icon of btn 3 to 131",┬¼
  6451. "set icon of btn 3 to 130") into Move
  6452.  
  6453. if first word of Move is "Error"
  6454. then
  6455. answer Move
  6456. else
  6457. repeat with i=1 to 2
  6458. get loc of btn i
  6459. add item 1 of Move to item 1 of it
  6460. add item 2 of Move to item 2 of it
  6461. set loc of btn i to it
  6462. end repeat
  6463. end if
  6464. end DoMove</script>
  6465. </card>
  6466.  
  6467.  
  6468. card_16663.xml
  6469. <?xml version="1.0" encoding="utf-8" ?>
  6470. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  6471. <card>
  6472.     <id>16663</id>
  6473.     <filler1>0</filler1>
  6474.     <bitmap>BMAP_21742.pbm</bitmap>
  6475.     <cantDelete> <false /> </cantDelete>
  6476.     <showPict> <true /> </showPict>
  6477.     <dontSearch> <false /> </dontSearch>
  6478.     <owner>46925</owner>
  6479.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  6480.     <part>
  6481.         <id>1</id>
  6482.         <type>field</type>
  6483.         <visible> <true /> </visible>
  6484.         <dontWrap> <false /> </dontWrap>
  6485.         <dontSearch> <false /> </dontSearch>
  6486.         <sharedText> <false /> </sharedText>
  6487.         <fixedLineHeight> <true /> </fixedLineHeight>
  6488.         <autoTab> <false /> </autoTab>
  6489.         <lockText> <true /> </lockText>
  6490.         <rect>
  6491.             <left>69</left>
  6492.             <top>68</top>
  6493.             <right>434</right>
  6494.             <bottom>251</bottom>
  6495.         </rect>
  6496.         <style>scrolling</style>
  6497.         <autoSelect> <false /> </autoSelect>
  6498.         <showLines> <false /> </showLines>
  6499.         <wideMargins> <false /> </wideMargins>
  6500.         <multipleLines> <false /> </multipleLines>
  6501.         <reservedFamily> 0 </reservedFamily>
  6502.         <titleWidth>0</titleWidth>
  6503.         <icon>0</icon>
  6504.         <textAlign>left</textAlign>
  6505.         <font>Geneva</font>
  6506.         <textSize>9</textSize>
  6507.         <textStyle>plain</textStyle>
  6508.         <textHeight>12</textHeight>
  6509.         <name>Container</name>
  6510.         <script></script>
  6511.     </part>
  6512.     <part>
  6513.         <id>5</id>
  6514.         <type>button</type>
  6515.         <visible> <true /> </visible>
  6516.         <reserved5> 0 </reserved5>
  6517.         <reserved4> 0 </reserved4>
  6518.         <reserved3> 0 </reserved3>
  6519.         <reserved2> 0 </reserved2>
  6520.         <reserved1> 0 </reserved1>
  6521.         <enabled> <true /> </enabled>
  6522.         <rect>
  6523.             <left>175</left>
  6524.             <top>288</top>
  6525.             <right>344</right>
  6526.             <bottom>318</bottom>
  6527.         </rect>
  6528.         <style>roundrect</style>
  6529.         <showName> <true /> </showName>
  6530.         <highlight> <false /> </highlight>
  6531.         <autoHighlight> <true /> </autoHighlight>
  6532.         <sharedHighlight> <true /> </sharedHighlight>
  6533.         <family>0</family>
  6534.         <titleWidth>0</titleWidth>
  6535.         <icon>0</icon>
  6536.         <textAlign>center</textAlign>
  6537.         <font>Geneva</font>
  6538.         <textSize>12</textSize>
  6539.         <textStyle>plain</textStyle>
  6540.         <name>FullFind</name>
  6541.         <script>on mouseUp
  6542. set cursor to watch
  6543. ls
  6544. repeat with i=2 to 8
  6545. if i Γëñ 6
  6546. then show cd fld i
  6547. show btn i
  6548. end repeat
  6549. uls
  6550. end mouseUp
  6551. </script>
  6552.     </part>
  6553.     <part>
  6554.         <id>17</id>
  6555.         <type>field</type>
  6556.         <visible> <false /> </visible>
  6557.         <dontWrap> <false /> </dontWrap>
  6558.         <dontSearch> <false /> </dontSearch>
  6559.         <sharedText> <false /> </sharedText>
  6560.         <fixedLineHeight> <true /> </fixedLineHeight>
  6561.         <autoTab> <false /> </autoTab>
  6562.         <lockText> <true /> </lockText>
  6563.         <rect>
  6564.             <left>17</left>
  6565.             <top>256</top>
  6566.             <right>508</right>
  6567.             <bottom>338</bottom>
  6568.         </rect>
  6569.         <style>shadow</style>
  6570.         <autoSelect> <false /> </autoSelect>
  6571.         <showLines> <false /> </showLines>
  6572.         <wideMargins> <true /> </wideMargins>
  6573.         <multipleLines> <false /> </multipleLines>
  6574.         <reservedFamily> 0 </reservedFamily>
  6575.         <titleWidth>0</titleWidth>
  6576.         <icon>0</icon>
  6577.         <textAlign>left</textAlign>
  6578.         <font>Geneva</font>
  6579.         <textSize>12</textSize>
  6580.         <textStyle>plain</textStyle>
  6581.         <textHeight>18</textHeight>
  6582.         <name></name>
  6583.         <script>on mouseUp
  6584. hideAll
  6585. end mouseUp</script>
  6586.     </part>
  6587.     <part>
  6588.         <id>18</id>
  6589.         <type>field</type>
  6590.         <visible> <false /> </visible>
  6591.         <dontWrap> <false /> </dontWrap>
  6592.         <dontSearch> <false /> </dontSearch>
  6593.         <sharedText> <false /> </sharedText>
  6594.         <fixedLineHeight> <true /> </fixedLineHeight>
  6595.         <autoTab> <true /> </autoTab>
  6596.         <lockText> <false /> </lockText>
  6597.         <rect>
  6598.             <left>92</left>
  6599.             <top>262</top>
  6600.             <right>383</right>
  6601.             <bottom>279</bottom>
  6602.         </rect>
  6603.         <style>rectangle</style>
  6604.         <autoSelect> <false /> </autoSelect>
  6605.         <showLines> <false /> </showLines>
  6606.         <wideMargins> <false /> </wideMargins>
  6607.         <multipleLines> <false /> </multipleLines>
  6608.         <reservedFamily> 0 </reservedFamily>
  6609.         <titleWidth>0</titleWidth>
  6610.         <icon>0</icon>
  6611.         <textAlign>left</textAlign>
  6612.         <font>Geneva</font>
  6613.         <textSize>12</textSize>
  6614.         <textStyle>plain</textStyle>
  6615.         <textHeight>16</textHeight>
  6616.         <name>Pattern</name>
  6617.         <script></script>
  6618.     </part>
  6619.     <part>
  6620.         <id>29</id>
  6621.         <type>button</type>
  6622.         <visible> <false /> </visible>
  6623.         <reserved5> 0 </reserved5>
  6624.         <reserved4> 0 </reserved4>
  6625.         <reserved3> 0 </reserved3>
  6626.         <reserved2> 0 </reserved2>
  6627.         <reserved1> 0 </reserved1>
  6628.         <enabled> <true /> </enabled>
  6629.         <rect>
  6630.             <left>32</left>
  6631.             <top>301</top>
  6632.             <right>89</right>
  6633.             <bottom>318</bottom>
  6634.         </rect>
  6635.         <style>radiobutton</style>
  6636.         <showName> <true /> </showName>
  6637.         <highlight> <false /> </highlight>
  6638.         <autoHighlight> <false /> </autoHighlight>
  6639.         <sharedHighlight> <true /> </sharedHighlight>
  6640.         <family>0</family>
  6641.         <titleWidth>0</titleWidth>
  6642.         <icon>0</icon>
  6643.         <textAlign>center</textAlign>
  6644.         <font>Geneva</font>
  6645.         <textSize>12</textSize>
  6646.         <textStyle>plain</textStyle>
  6647.         <name>false</name>
  6648.         <script>on mouseUp
  6649. SetBtn 2,3
  6650. end mouseUp
  6651. </script>
  6652.     </part>
  6653.     <part>
  6654.         <id>30</id>
  6655.         <type>button</type>
  6656.         <visible> <false /> </visible>
  6657.         <reserved5> 0 </reserved5>
  6658.         <reserved4> 0 </reserved4>
  6659.         <reserved3> 0 </reserved3>
  6660.         <reserved2> 0 </reserved2>
  6661.         <reserved1> 0 </reserved1>
  6662.         <enabled> <true /> </enabled>
  6663.         <rect>
  6664.             <left>32</left>
  6665.             <top>317</top>
  6666.             <right>89</right>
  6667.             <bottom>334</bottom>
  6668.         </rect>
  6669.         <style>radiobutton</style>
  6670.         <showName> <true /> </showName>
  6671.         <highlight> <true /> </highlight>
  6672.         <autoHighlight> <false /> </autoHighlight>
  6673.         <sharedHighlight> <true /> </sharedHighlight>
  6674.         <family>0</family>
  6675.         <titleWidth>0</titleWidth>
  6676.         <icon>0</icon>
  6677.         <textAlign>center</textAlign>
  6678.         <font>Geneva</font>
  6679.         <textSize>12</textSize>
  6680.         <textStyle>plain</textStyle>
  6681.         <name>true</name>
  6682.         <script>on mouseUp
  6683. SetBtn 2,3
  6684. end mouseUp
  6685. </script>
  6686.     </part>
  6687.     <part>
  6688.         <id>19</id>
  6689.         <type>button</type>
  6690.         <visible> <false /> </visible>
  6691.         <reserved5> 0 </reserved5>
  6692.         <reserved4> 0 </reserved4>
  6693.         <reserved3> 0 </reserved3>
  6694.         <reserved2> 0 </reserved2>
  6695.         <reserved1> 0 </reserved1>
  6696.         <enabled> <true /> </enabled>
  6697.         <rect>
  6698.             <left>112</left>
  6699.             <top>301</top>
  6700.             <right>169</right>
  6701.             <bottom>318</bottom>
  6702.         </rect>
  6703.         <style>radiobutton</style>
  6704.         <showName> <true /> </showName>
  6705.         <highlight> <false /> </highlight>
  6706.         <autoHighlight> <false /> </autoHighlight>
  6707.         <sharedHighlight> <true /> </sharedHighlight>
  6708.         <family>0</family>
  6709.         <titleWidth>0</titleWidth>
  6710.         <icon>0</icon>
  6711.         <textAlign>center</textAlign>
  6712.         <font>Geneva</font>
  6713.         <textSize>12</textSize>
  6714.         <textStyle>plain</textStyle>
  6715.         <name>false</name>
  6716.         <script>on mouseUp
  6717. SetBtn 4,5
  6718. end mouseUp
  6719. </script>
  6720.     </part>
  6721.     <part>
  6722.         <id>20</id>
  6723.         <type>button</type>
  6724.         <visible> <false /> </visible>
  6725.         <reserved5> 0 </reserved5>
  6726.         <reserved4> 0 </reserved4>
  6727.         <reserved3> 0 </reserved3>
  6728.         <reserved2> 0 </reserved2>
  6729.         <reserved1> 0 </reserved1>
  6730.         <enabled> <true /> </enabled>
  6731.         <rect>
  6732.             <left>112</left>
  6733.             <top>317</top>
  6734.             <right>169</right>
  6735.             <bottom>334</bottom>
  6736.         </rect>
  6737.         <style>radiobutton</style>
  6738.         <showName> <true /> </showName>
  6739.         <highlight> <true /> </highlight>
  6740.         <autoHighlight> <false /> </autoHighlight>
  6741.         <sharedHighlight> <true /> </sharedHighlight>
  6742.         <family>0</family>
  6743.         <titleWidth>0</titleWidth>
  6744.         <icon>0</icon>
  6745.         <textAlign>center</textAlign>
  6746.         <font>Geneva</font>
  6747.         <textSize>12</textSize>
  6748.         <textStyle>plain</textStyle>
  6749.         <name>true</name>
  6750.         <script>on mouseUp
  6751. SetBtn 4,5
  6752. end mouseUp
  6753. </script>
  6754.     </part>
  6755.     <part>
  6756.         <id>21</id>
  6757.         <type>button</type>
  6758.         <visible> <false /> </visible>
  6759.         <reserved5> 0 </reserved5>
  6760.         <reserved4> 0 </reserved4>
  6761.         <reserved3> 0 </reserved3>
  6762.         <reserved2> 0 </reserved2>
  6763.         <reserved1> 0 </reserved1>
  6764.         <enabled> <true /> </enabled>
  6765.         <rect>
  6766.             <left>191</left>
  6767.             <top>301</top>
  6768.             <right>248</right>
  6769.             <bottom>318</bottom>
  6770.         </rect>
  6771.         <style>radiobutton</style>
  6772.         <showName> <true /> </showName>
  6773.         <highlight> <true /> </highlight>
  6774.         <autoHighlight> <false /> </autoHighlight>
  6775.         <sharedHighlight> <true /> </sharedHighlight>
  6776.         <family>0</family>
  6777.         <titleWidth>0</titleWidth>
  6778.         <icon>0</icon>
  6779.         <textAlign>center</textAlign>
  6780.         <font>Geneva</font>
  6781.         <textSize>12</textSize>
  6782.         <textStyle>plain</textStyle>
  6783.         <name>false</name>
  6784.         <script>on mouseUp
  6785. SetBtn 6,7
  6786. end mouseUp
  6787. </script>
  6788.     </part>
  6789.     <part>
  6790.         <id>22</id>
  6791.         <type>button</type>
  6792.         <visible> <false /> </visible>
  6793.         <reserved5> 0 </reserved5>
  6794.         <reserved4> 0 </reserved4>
  6795.         <reserved3> 0 </reserved3>
  6796.         <reserved2> 0 </reserved2>
  6797.         <reserved1> 0 </reserved1>
  6798.         <enabled> <true /> </enabled>
  6799.         <rect>
  6800.             <left>191</left>
  6801.             <top>317</top>
  6802.             <right>248</right>
  6803.             <bottom>334</bottom>
  6804.         </rect>
  6805.         <style>radiobutton</style>
  6806.         <showName> <true /> </showName>
  6807.         <highlight> <false /> </highlight>
  6808.         <autoHighlight> <false /> </autoHighlight>
  6809.         <sharedHighlight> <true /> </sharedHighlight>
  6810.         <family>0</family>
  6811.         <titleWidth>0</titleWidth>
  6812.         <icon>0</icon>
  6813.         <textAlign>center</textAlign>
  6814.         <font>Geneva</font>
  6815.         <textSize>12</textSize>
  6816.         <textStyle>plain</textStyle>
  6817.         <name>true</name>
  6818.         <script>on mouseUp
  6819. SetBtn 6,7
  6820. end mouseUp
  6821. </script>
  6822.     </part>
  6823.     <part>
  6824.         <id>23</id>
  6825.         <type>field</type>
  6826.         <visible> <false /> </visible>
  6827.         <dontWrap> <false /> </dontWrap>
  6828.         <dontSearch> <false /> </dontSearch>
  6829.         <sharedText> <false /> </sharedText>
  6830.         <fixedLineHeight> <true /> </fixedLineHeight>
  6831.         <autoTab> <true /> </autoTab>
  6832.         <lockText> <false /> </lockText>
  6833.         <rect>
  6834.             <left>318</left>
  6835.             <top>297</top>
  6836.             <right>363</right>
  6837.             <bottom>314</bottom>
  6838.         </rect>
  6839.         <style>rectangle</style>
  6840.         <autoSelect> <false /> </autoSelect>
  6841.         <showLines> <false /> </showLines>
  6842.         <wideMargins> <false /> </wideMargins>
  6843.         <multipleLines> <false /> </multipleLines>
  6844.         <reservedFamily> 0 </reservedFamily>
  6845.         <titleWidth>0</titleWidth>
  6846.         <icon>0</icon>
  6847.         <textAlign>center</textAlign>
  6848.         <font>Geneva</font>
  6849.         <textSize>12</textSize>
  6850.         <textStyle>plain</textStyle>
  6851.         <textHeight>16</textHeight>
  6852.         <name>Start</name>
  6853.         <script></script>
  6854.     </part>
  6855.     <part>
  6856.         <id>25</id>
  6857.         <type>field</type>
  6858.         <visible> <false /> </visible>
  6859.         <dontWrap> <false /> </dontWrap>
  6860.         <dontSearch> <false /> </dontSearch>
  6861.         <sharedText> <false /> </sharedText>
  6862.         <fixedLineHeight> <true /> </fixedLineHeight>
  6863.         <autoTab> <true /> </autoTab>
  6864.         <lockText> <false /> </lockText>
  6865.         <rect>
  6866.             <left>318</left>
  6867.             <top>316</top>
  6868.             <right>389</right>
  6869.             <bottom>333</bottom>
  6870.         </rect>
  6871.         <style>rectangle</style>
  6872.         <autoSelect> <false /> </autoSelect>
  6873.         <showLines> <false /> </showLines>
  6874.         <wideMargins> <false /> </wideMargins>
  6875.         <multipleLines> <false /> </multipleLines>
  6876.         <reservedFamily> 0 </reservedFamily>
  6877.         <titleWidth>0</titleWidth>
  6878.         <icon>0</icon>
  6879.         <textAlign>center</textAlign>
  6880.         <font>Geneva</font>
  6881.         <textSize>12</textSize>
  6882.         <textStyle>plain</textStyle>
  6883.         <textHeight>16</textHeight>
  6884.         <name>Items</name>
  6885.         <script></script>
  6886.     </part>
  6887.     <part>
  6888.         <id>26</id>
  6889.         <type>field</type>
  6890.         <visible> <false /> </visible>
  6891.         <dontWrap> <false /> </dontWrap>
  6892.         <dontSearch> <false /> </dontSearch>
  6893.         <sharedText> <false /> </sharedText>
  6894.         <fixedLineHeight> <true /> </fixedLineHeight>
  6895.         <autoTab> <false /> </autoTab>
  6896.         <lockText> <true /> </lockText>
  6897.         <rect>
  6898.             <left>399</left>
  6899.             <top>260</top>
  6900.             <right>499</right>
  6901.             <bottom>310</bottom>
  6902.         </rect>
  6903.         <style>scrolling</style>
  6904.         <autoSelect> <false /> </autoSelect>
  6905.         <showLines> <false /> </showLines>
  6906.         <wideMargins> <false /> </wideMargins>
  6907.         <multipleLines> <false /> </multipleLines>
  6908.         <reservedFamily> 0 </reservedFamily>
  6909.         <titleWidth>0</titleWidth>
  6910.         <icon>0</icon>
  6911.         <textAlign>left</textAlign>
  6912.         <font>Geneva</font>
  6913.         <textSize>9</textSize>
  6914.         <textStyle>plain</textStyle>
  6915.         <textHeight>12</textHeight>
  6916.         <name>Result</name>
  6917.         <script></script>
  6918.     </part>
  6919.     <part>
  6920.         <id>27</id>
  6921.         <type>button</type>
  6922.         <visible> <false /> </visible>
  6923.         <reserved5> 0 </reserved5>
  6924.         <reserved4> 0 </reserved4>
  6925.         <reserved3> 0 </reserved3>
  6926.         <reserved2> 0 </reserved2>
  6927.         <reserved1> 0 </reserved1>
  6928.         <enabled> <true /> </enabled>
  6929.         <rect>
  6930.             <left>399</left>
  6931.             <top>312</top>
  6932.             <right>500</right>
  6933.             <bottom>333</bottom>
  6934.         </rect>
  6935.         <style>roundrect</style>
  6936.         <showName> <true /> </showName>
  6937.         <highlight> <false /> </highlight>
  6938.         <autoHighlight> <true /> </autoHighlight>
  6939.         <sharedHighlight> <true /> </sharedHighlight>
  6940.         <family>0</family>
  6941.         <titleWidth>0</titleWidth>
  6942.         <icon>0</icon>
  6943.         <textAlign>center</textAlign>
  6944.         <font>Geneva</font>
  6945.         <textSize>12</textSize>
  6946.         <textStyle>plain</textStyle>
  6947.         <name>Search</name>
  6948.         <script>on mouseUp
  6949. set cursor to watch
  6950.  
  6951. put (hilite of btn 3) into Exactly
  6952.  
  6953. put (hilite of btn 5) into All
  6954.  
  6955. put (hilite of btn 7) into Case
  6956.  
  6957. if cd fld "Start" is empty
  6958. then put 0 into Start
  6959. else put cd fld "Start" into Start
  6960.  
  6961. if cd fld "Items" is empty
  6962. then
  6963. get FullFind(cd fld "Container",cd fld "Pattern",Exactly,All,Case,┬¼
  6964. Start)
  6965. else
  6966. get FullFind(cd fld "Container",cd fld "Pattern",Exactly,All,Case,┬¼
  6967. Start,cd fld "Items")
  6968. end if
  6969.  
  6970. if first word of it Γëá "Error"
  6971. then
  6972. set scroll of cd fld "Result" to 0
  6973. put it into cd fld "Result"
  6974. else answer it
  6975.  
  6976. end mouseUp
  6977. </script>
  6978.     </part>
  6979.     <content>
  6980.         <layer>card</layer>
  6981.         <id>1</id>
  6982.         <text>
  6983.  
  6984.                                                  FullFind 1.4
  6985.  
  6986.                                           by Fr├⌐d├⌐ric RINALDI
  6987.  
  6988.  
  6989. DESCRIPTION
  6990. ------------
  6991.   FullFind XFCN allows to search for first of all matches of a string in a container.
  6992.  
  6993.  
  6994. SYNTAX
  6995. --------
  6996.           FullFind(<container>,<pattern>[,<exactly>[,<all>[,<case sens.>
  6997.                         [,<start>[,<item(s)>]]]])
  6998.  
  6999.  
  7000. PARAMETERS
  7001. ------------
  7002.    Container is where the pattern will  be searched in.
  7003.  
  7004.    Pattern is the search string, and cannot exceed 255 chars.
  7005.  
  7006.    Exactly can be true or false, and defines if the search will match the pattern as full word (true), or just as chars (false). Default is true.
  7007.  
  7008.    All can be true or false, and defines if the search will return only the first match (false), or all matches (true). Default is false.
  7009.  
  7010.    Case sens. can be true or false, and defines if the search must be case sensitive (true) or not (false). Default is false.
  7011.  
  7012.    Start is an integer defining the char after which the search begins. Default is 0.
  7013.  
  7014.    Item(s) is an item list of the item numbers in which the pattern will be sarched in each line. Default is the whole line.
  7015.  
  7016.    Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
  7017.  
  7018.  
  7019. USING
  7020. -----
  7021.    The XFCN returns a one or many lines result, each one containing four items "X,Y,Z,T", where :
  7022.      X is the position in the container of the first char of the pattern
  7023.      Y is the line number
  7024.      Z is the position in the line of the first char of the pattern
  7025.      T is the item number
  7026.  
  7027.    If the pattern is not found, the XFCN returns an empty string.
  7028.  
  7029. If an error occurs, FullFind can return :
  7030.  
  7031.      "Error : Missing parameter(s)"
  7032.      "Error : Param 3 must be true|false"
  7033.      "Error : Param 4 must be true|false"
  7034.      "Error : Param 5 must be a positive integer"
  7035.      "Error : Param 6 must be an integer > 0"
  7036.      "Error : Couldn't build the result"
  7037.      "Error : Separator char not allowed at the end of pattern"
  7038.  
  7039.  
  7040. HISTORY
  7041. --------
  7042. 1.4 :                                                                                          05/17/92
  7043. ΓÇó Added itemDelimiter handling for specific item searching
  7044.  
  7045. 1.3                                                                                            02/23/92
  7046. ΓÇó Search no more limited to 32000 chars
  7047. ΓÇó Added exact search with multi-word pattern
  7048.  
  7049. 1.2                                                                                              8/16/91
  7050. ΓÇó Added "=" online help param
  7051. ΓÇó Using Script Mgr to find word boundaries
  7052. </text>
  7053.     </content>
  7054.     <content>
  7055.         <layer>card</layer>
  7056.         <id>17</id>
  7057.         <text>Pattern :
  7058.   Exactly            All          Case Sens.
  7059.                                                             Start
  7060.                                                             Item(s)</text>
  7061.     </content>
  7062.     <content>
  7063.         <layer>card</layer>
  7064.         <id>18</id>
  7065.         <text>the</text>
  7066.     </content>
  7067.     <content>
  7068.         <layer>card</layer>
  7069.         <id>26</id>
  7070.         <text>430,21,23,1</text>
  7071.     </content>
  7072.     <name></name>
  7073.     <script>on SetBtn start,stop
  7074. repeat with i=start to stop
  7075. set hilite of btn i to (number of the target = i)
  7076. end repeat
  7077. end SetBtn</script>
  7078. </card>
  7079.  
  7080.  
  7081. card_2516.xml
  7082. <?xml version="1.0" encoding="utf-8" ?>
  7083. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7084. <card>
  7085.     <id>2516</id>
  7086.     <filler1>0</filler1>
  7087.     <bitmap>BMAP_24680.pbm</bitmap>
  7088.     <cantDelete> <false /> </cantDelete>
  7089.     <showPict> <true /> </showPict>
  7090.     <dontSearch> <false /> </dontSearch>
  7091.     <owner>46925</owner>
  7092.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  7093.     <part>
  7094.         <id>1</id>
  7095.         <type>field</type>
  7096.         <visible> <true /> </visible>
  7097.         <dontWrap> <false /> </dontWrap>
  7098.         <dontSearch> <false /> </dontSearch>
  7099.         <sharedText> <false /> </sharedText>
  7100.         <fixedLineHeight> <true /> </fixedLineHeight>
  7101.         <autoTab> <false /> </autoTab>
  7102.         <lockText> <false /> </lockText>
  7103.         <rect>
  7104.             <left>69</left>
  7105.             <top>68</top>
  7106.             <right>434</right>
  7107.             <bottom>252</bottom>
  7108.         </rect>
  7109.         <style>scrolling</style>
  7110.         <autoSelect> <false /> </autoSelect>
  7111.         <showLines> <false /> </showLines>
  7112.         <wideMargins> <false /> </wideMargins>
  7113.         <multipleLines> <false /> </multipleLines>
  7114.         <reservedFamily> 0 </reservedFamily>
  7115.         <titleWidth>0</titleWidth>
  7116.         <icon>0</icon>
  7117.         <textAlign>left</textAlign>
  7118.         <font>Geneva</font>
  7119.         <textSize>9</textSize>
  7120.         <textStyle>plain</textStyle>
  7121.         <textHeight>12</textHeight>
  7122.         <name></name>
  7123.         <script></script>
  7124.     </part>
  7125.     <part>
  7126.         <id>16</id>
  7127.         <type>button</type>
  7128.         <visible> <true /> </visible>
  7129.         <reserved5> 0 </reserved5>
  7130.         <reserved4> 0 </reserved4>
  7131.         <reserved3> 0 </reserved3>
  7132.         <reserved2> 0 </reserved2>
  7133.         <reserved1> 0 </reserved1>
  7134.         <enabled> <true /> </enabled>
  7135.         <rect>
  7136.             <left>154</left>
  7137.             <top>261</top>
  7138.             <right>253</right>
  7139.             <bottom>280</bottom>
  7140.         </rect>
  7141.         <style>shadow</style>
  7142.         <showName> <true /> </showName>
  7143.         <highlight> <false /> </highlight>
  7144.         <autoHighlight> <true /> </autoHighlight>
  7145.         <sharedHighlight> <true /> </sharedHighlight>
  7146.         <family>0</family>
  7147.         <titleWidth>0</titleWidth>
  7148.         <icon>0</icon>
  7149.         <textAlign>left</textAlign>
  7150.         <font>Geneva</font>
  7151.         <textSize>12</textSize>
  7152.         <textStyle>plain</textStyle>
  7153.         <name>SubItem 1.3</name>
  7154.         <script>on mouseDown
  7155. get FullHPop(cd fld 2)
  7156.  
  7157. TestError(it)
  7158.  
  7159. put it into cd fld "result"
  7160.  
  7161. if it Γëá empty
  7162. then
  7163. if item 2 of it Γëá empty
  7164. then put 2 into ItemNb
  7165. else put 1 into ItemNb
  7166.  
  7167. set name of me to item ItemNb of it
  7168.  
  7169. ResizeMe item ItemNb of line 2 of it,"BtnArrow"
  7170. end if
  7171. end mouseDown
  7172. </script>
  7173.     </part>
  7174.     <part>
  7175.         <id>17</id>
  7176.         <type>button</type>
  7177.         <visible> <true /> </visible>
  7178.         <reserved5> 0 </reserved5>
  7179.         <reserved4> 0 </reserved4>
  7180.         <reserved3> 0 </reserved3>
  7181.         <reserved2> 0 </reserved2>
  7182.         <reserved1> 0 </reserved1>
  7183.         <enabled> <true /> </enabled>
  7184.         <rect>
  7185.             <left>238</left>
  7186.             <top>263</top>
  7187.             <right>253</right>
  7188.             <bottom>276</bottom>
  7189.         </rect>
  7190.         <style>transparent</style>
  7191.         <showName> <false /> </showName>
  7192.         <highlight> <false /> </highlight>
  7193.         <autoHighlight> <false /> </autoHighlight>
  7194.         <sharedHighlight> <true /> </sharedHighlight>
  7195.         <family>0</family>
  7196.         <titleWidth>0</titleWidth>
  7197.         <icon>31383</icon>
  7198.         <textAlign>center</textAlign>
  7199.         <font>Geneva</font>
  7200.         <textSize>12</textSize>
  7201.         <textStyle>plain</textStyle>
  7202.         <name>BtnArrow</name>
  7203.         <script>on mouseDown
  7204. send mouseDown to btn 1
  7205. end mouseDown</script>
  7206.     </part>
  7207.     <part>
  7208.         <id>18</id>
  7209.         <type>field</type>
  7210.         <visible> <true /> </visible>
  7211.         <dontWrap> <false /> </dontWrap>
  7212.         <dontSearch> <false /> </dontSearch>
  7213.         <sharedText> <false /> </sharedText>
  7214.         <fixedLineHeight> <true /> </fixedLineHeight>
  7215.         <autoTab> <false /> </autoTab>
  7216.         <lockText> <false /> </lockText>
  7217.         <rect>
  7218.             <left>324</left>
  7219.             <top>263</top>
  7220.             <right>492</right>
  7221.             <bottom>338</bottom>
  7222.         </rect>
  7223.         <style>scrolling</style>
  7224.         <autoSelect> <false /> </autoSelect>
  7225.         <showLines> <false /> </showLines>
  7226.         <wideMargins> <false /> </wideMargins>
  7227.         <multipleLines> <false /> </multipleLines>
  7228.         <reservedFamily> 0 </reservedFamily>
  7229.         <titleWidth>0</titleWidth>
  7230.         <icon>0</icon>
  7231.         <textAlign>left</textAlign>
  7232.         <font>Geneva</font>
  7233.         <textSize>9</textSize>
  7234.         <textStyle>plain</textStyle>
  7235.         <textHeight>12</textHeight>
  7236.         <name></name>
  7237.         <script></script>
  7238.     </part>
  7239.     <part>
  7240.         <id>19</id>
  7241.         <type>field</type>
  7242.         <visible> <true /> </visible>
  7243.         <dontWrap> <false /> </dontWrap>
  7244.         <dontSearch> <false /> </dontSearch>
  7245.         <sharedText> <false /> </sharedText>
  7246.         <fixedLineHeight> <true /> </fixedLineHeight>
  7247.         <autoTab> <false /> </autoTab>
  7248.         <lockText> <false /> </lockText>
  7249.         <rect>
  7250.             <left>154</left>
  7251.             <top>311</top>
  7252.             <right>321</right>
  7253.             <bottom>338</bottom>
  7254.         </rect>
  7255.         <style>rectangle</style>
  7256.         <autoSelect> <false /> </autoSelect>
  7257.         <showLines> <false /> </showLines>
  7258.         <wideMargins> <false /> </wideMargins>
  7259.         <multipleLines> <false /> </multipleLines>
  7260.         <reservedFamily> 0 </reservedFamily>
  7261.         <titleWidth>0</titleWidth>
  7262.         <icon>0</icon>
  7263.         <textAlign>left</textAlign>
  7264.         <font>Geneva</font>
  7265.         <textSize>9</textSize>
  7266.         <textStyle>plain</textStyle>
  7267.         <textHeight>12</textHeight>
  7268.         <name>Result</name>
  7269.         <script></script>
  7270.     </part>
  7271.     <part>
  7272.         <id>30</id>
  7273.         <type>field</type>
  7274.         <visible> <true /> </visible>
  7275.         <dontWrap> <false /> </dontWrap>
  7276.         <dontSearch> <false /> </dontSearch>
  7277.         <sharedText> <false /> </sharedText>
  7278.         <fixedLineHeight> <true /> </fixedLineHeight>
  7279.         <autoTab> <false /> </autoTab>
  7280.         <lockText> <true /> </lockText>
  7281.         <rect>
  7282.             <left>154</left>
  7283.             <top>287</top>
  7284.             <right>213</right>
  7285.             <bottom>304</bottom>
  7286.         </rect>
  7287.         <style>shadow</style>
  7288.         <autoSelect> <false /> </autoSelect>
  7289.         <showLines> <false /> </showLines>
  7290.         <wideMargins> <false /> </wideMargins>
  7291.         <multipleLines> <false /> </multipleLines>
  7292.         <reservedFamily> 0 </reservedFamily>
  7293.         <titleWidth>0</titleWidth>
  7294.         <icon>0</icon>
  7295.         <textAlign>left</textAlign>
  7296.         <font>Geneva</font>
  7297.         <textSize>9</textSize>
  7298.         <textStyle>plain</textStyle>
  7299.         <textHeight>12</textHeight>
  7300.         <name></name>
  7301.         <script>on mouseDown
  7302. get FullHPop("FONT")
  7303.  
  7304. TestError(it)
  7305.  
  7306. put it into cd fld "result"
  7307.  
  7308. if it Γëá empty
  7309. then
  7310. put item 1 of it into me
  7311.  
  7312. ResizeMe item 1 of line 2 of it,"FldArrow"
  7313.  
  7314. set textFont of btn 1 to item 1 of it
  7315. end if
  7316. end mouseDown
  7317. </script>
  7318.     </part>
  7319.     <part>
  7320.         <id>31</id>
  7321.         <type>button</type>
  7322.         <visible> <true /> </visible>
  7323.         <reserved5> 0 </reserved5>
  7324.         <reserved4> 0 </reserved4>
  7325.         <reserved3> 0 </reserved3>
  7326.         <reserved2> 0 </reserved2>
  7327.         <reserved1> 0 </reserved1>
  7328.         <enabled> <true /> </enabled>
  7329.         <rect>
  7330.             <left>194</left>
  7331.             <top>288</top>
  7332.             <right>213</right>
  7333.             <bottom>301</bottom>
  7334.         </rect>
  7335.         <style>transparent</style>
  7336.         <showName> <false /> </showName>
  7337.         <highlight> <false /> </highlight>
  7338.         <autoHighlight> <false /> </autoHighlight>
  7339.         <sharedHighlight> <true /> </sharedHighlight>
  7340.         <family>0</family>
  7341.         <titleWidth>0</titleWidth>
  7342.         <icon>31383</icon>
  7343.         <textAlign>center</textAlign>
  7344.         <font>Geneva</font>
  7345.         <textSize>12</textSize>
  7346.         <textStyle>plain</textStyle>
  7347.         <name>FldArrow</name>
  7348.         <script>on mouseDown
  7349. send mouseDown to cd fld 4
  7350. end mouseDown</script>
  7351.     </part>
  7352.     <content>
  7353.         <layer>card</layer>
  7354.         <id>1</id>
  7355.         <text>
  7356.  
  7357.                                               FullHPop 1.3
  7358.  
  7359.                                         by Fr├⌐d├⌐ric RINALDI
  7360.  
  7361.  
  7362.    Yet another hierarchical popupmenu XFCN? Nope. Once again FullHPop will definitly be the most versatile and powerful popUp XFCN. Among its features:
  7363.    ΓÇó One param fits 95% of the user needs when dealing with popupmenu
  7364.    ΓÇó Allows font & size choosing
  7365.    ΓÇó Smart enough to capitalize each item and style metacharacter to match
  7366.    the Human Interface Guidelines.
  7367.    ΓÇó A special hack has been provided to allow SICN inserting using 
  7368.    metacharacter (like ^xxx for an ICON).
  7369.    ΓÇó No need for the user to compute the ICON or SICN ID before passing it.
  7370.    Simply put the real resource ID after the metacharacter.
  7371.    ΓÇó Item selection of submenu owner is allowed.
  7372.    ΓÇó No menu or submenu length limit (32000 chars, 127 submenus)
  7373.    ΓÇó Any automatic feature can be redefined using parameters
  7374.    ΓÇó Returns the selected item and subitem string width to allow resizing of 
  7375.    the target object.
  7376.    ΓÇó Brings auto-checking of menu item according to target name or content.
  7377.    ΓÇó Popupmenu pops automatically where it is expected.
  7378.    ΓÇó Builds resources menu
  7379.  
  7380.  
  7381. DESCRIPTION
  7382. ------------
  7383.    FullHPop brings a popup or hierarchical popup menu to allow user selection.
  7384.  
  7385.  
  7386. SYNTAX
  7387. -------
  7388.            FullHPop(<menu>[,<loc>][,<selected item>][,<Font[,size]>]
  7389.                          [,<checkMark>][,<sub owner select>][,"fastest"])
  7390.  
  7391.  
  7392. PARAMETERS
  7393. ------------
  7394.    Only first param is required, all other are optional.
  7395.  
  7396.    <menu> is the popup menu definition text. For a single menu, item separator char can be return, comma or semicolon. For a hierarchical menu, item separator can be return or semicolon, while subitems separator will be comma.
  7397.    If this param is exactly a four char string (like "FONT" or "XCMD"), the XFCN will automatically build a menu containing all resource names of the defined type.
  7398.    Any usual metacharacter can be used in string :
  7399.      ^XXX    associates an ICON resource to the item
  7400.      !X        puts a X mark char before the item
  7401.      <X        sets the style of the item (B, I, O, U, S)
  7402.                 NOTE :  Menu Mgr doesn't allow <E (extend) and <C (condense)
  7403.      /X       associates a command key to the item
  7404.      (         disables the item
  7405.    and a special hack :
  7406.      ┬¿XXX    associates an SICN resource to the item
  7407.  
  7408.    <loc> is a point "h,v" giving the topleft corner of the selected item of the menu when it pops on screen. Default is the topleft of the target button or field, or the current mouseLoc when used without field or button.
  7409.  
  7410.    <selected item> is an integer giving the item number that will appear right at the cursor location when the menu pops. With 0, the menu will drop down from its top. With a positive value, the item will be checked, while a negative value will just position the item without checking it. If this param is not used, the XFCN will automatically check the item corresponding to the the target button name of field content.
  7411.  
  7412.    <Font[,size]> is a one ot two items string allowing to force a font and size for the menu. Default setup uses the font and size of the target object.
  7413.  
  7414.    <checkMark> is a single char giving the checkmark char. Default uses the regular check for Chicago, "ΓêÜ" for any other font.
  7415.  
  7416.    <sub owner select> is a boolean that will enable of disable the feature that allows to even select an item having a submenu. Default is true.
  7417.  
  7418.    "fastest" allows to disable smart features from FullHPop, thus make it respond as fast as possible. But the drawback of it is that items will not be capitalized anymore, ICON ID must be computed as usual (see IM I-346 to 349), and SICN recources become unavailable.
  7419.  
  7420.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  7421.  
  7422.  
  7423. USING
  7424. -----
  7425.    The XFCN must ne called in a mouseDown handler from either a button or a field.
  7426.  
  7427.    FullHPop will return a two line result :
  7428.  "<item name>,<subItem name>,<item number>,<subItem number>
  7429.    <item width>,<subItem width>"
  7430.  
  7431.    The first line returns informations about the selected item and subitem, while the second gives the selection string width according to menu font and size. This information is intended to give the user ability to resize the calling object to respect interface.
  7432.  
  7433.    If the mouse button is released outside the menu, the result will be empty.
  7434.  
  7435.  
  7436. ERRORS
  7437. -------
  7438. If an error occurs, FullHPop will return :
  7439.  
  7440.      "Error : Bad ICON or SICN ID (257 Γëñ x Γëñ 511)"
  7441.      "Error : Cannot exceed 127 submenus"
  7442.      "Error : Missing or empty parameter(s)"
  7443.      "Error : Empty param #x"
  7444.      "Error : Bad font size"
  7445.      "Error : Incorrect param #x"
  7446.      "Error : No such resource"
  7447.  
  7448.  
  7449. HISTORY
  7450. -------
  7451. 1.3                                                                                            10/26/91
  7452. ΓÇó "-" char can be preceeded by prefix char "\" as well.
  7453.  
  7454. 1.2                                                                                            10/14/91
  7455. ΓÇó Added mouseLoc default loc for card click
  7456. ΓÇó Fixed font attributes handling when no target font property is available
  7457. ΓÇó Fixed prefix char routine
  7458.  
  7459. 1.1                                                                                            10/09/91
  7460. ΓÇó┬áNegative loc values now accepted as parameter
  7461. ΓÇó┬áAdded "\" prefix char for metacharacters in string
  7462. </text>
  7463.     </content>
  7464.     <content>
  7465.         <layer>card</layer>
  7466.         <id>18</id>
  7467.         <text>Mac SE\/30\!
  7468. item 1,subItem 1.1,SubItem 1.2,SubItem 1.3
  7469. ^257Item 2<B,subItem 2.1<B,SubItem 2.2<I,(-,<OSubItem 2.3
  7470. ┬¿257item 3<i
  7471. </text>
  7472.     </content>
  7473.     <content>
  7474.         <layer>card</layer>
  7475.         <id>30</id>
  7476.         <text>Chicago</text>
  7477.     </content>
  7478.     <content>
  7479.         <layer>card</layer>
  7480.         <id>19</id>
  7481.         <text>Item 1,SubItem 1.3,2,3
  7482. 41,74</text>
  7483.     </content>
  7484.     <name></name>
  7485.     <script>on ResizeMe Width,BtName
  7486. put rect of the target into TheRect
  7487. put item 1 of TheRect + Width + 25 into item 3 of theRect
  7488. set rect of the target to TheRect
  7489. set right of btn BtName to right of the target
  7490. end ResizeMe
  7491.  
  7492. on TestError What
  7493. if first word of What is "Error"
  7494. then
  7495. beep
  7496. answer What
  7497. exit to HyperCard
  7498. end if
  7499. end TestError</script>
  7500. </card>
  7501.  
  7502.  
  7503. card_17814.xml
  7504. <?xml version="1.0" encoding="utf-8" ?>
  7505. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7506. <card>
  7507.     <id>17814</id>
  7508.     <filler1>0</filler1>
  7509.     <bitmap>BMAP_18081.pbm</bitmap>
  7510.     <cantDelete> <false /> </cantDelete>
  7511.     <showPict> <true /> </showPict>
  7512.     <dontSearch> <false /> </dontSearch>
  7513.     <owner>46925</owner>
  7514.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  7515.     <part>
  7516.         <id>1</id>
  7517.         <type>field</type>
  7518.         <visible> <true /> </visible>
  7519.         <dontWrap> <false /> </dontWrap>
  7520.         <dontSearch> <false /> </dontSearch>
  7521.         <sharedText> <false /> </sharedText>
  7522.         <fixedLineHeight> <true /> </fixedLineHeight>
  7523.         <autoTab> <false /> </autoTab>
  7524.         <lockText> <true /> </lockText>
  7525.         <rect>
  7526.             <left>69</left>
  7527.             <top>68</top>
  7528.             <right>434</right>
  7529.             <bottom>252</bottom>
  7530.         </rect>
  7531.         <style>scrolling</style>
  7532.         <autoSelect> <false /> </autoSelect>
  7533.         <showLines> <false /> </showLines>
  7534.         <wideMargins> <false /> </wideMargins>
  7535.         <multipleLines> <false /> </multipleLines>
  7536.         <reservedFamily> 0 </reservedFamily>
  7537.         <titleWidth>0</titleWidth>
  7538.         <icon>0</icon>
  7539.         <textAlign>left</textAlign>
  7540.         <font>Geneva</font>
  7541.         <textSize>9</textSize>
  7542.         <textStyle>plain</textStyle>
  7543.         <textHeight>12</textHeight>
  7544.         <name></name>
  7545.         <script></script>
  7546.     </part>
  7547.     <part>
  7548.         <id>5</id>
  7549.         <type>button</type>
  7550.         <visible> <true /> </visible>
  7551.         <reserved5> 0 </reserved5>
  7552.         <reserved4> 0 </reserved4>
  7553.         <reserved3> 0 </reserved3>
  7554.         <reserved2> 0 </reserved2>
  7555.         <reserved1> 0 </reserved1>
  7556.         <enabled> <true /> </enabled>
  7557.         <rect>
  7558.             <left>174</left>
  7559.             <top>281</top>
  7560.             <right>343</right>
  7561.             <bottom>311</bottom>
  7562.         </rect>
  7563.         <style>roundrect</style>
  7564.         <showName> <true /> </showName>
  7565.         <highlight> <false /> </highlight>
  7566.         <autoHighlight> <true /> </autoHighlight>
  7567.         <sharedHighlight> <true /> </sharedHighlight>
  7568.         <family>0</family>
  7569.         <titleWidth>0</titleWidth>
  7570.         <icon>0</icon>
  7571.         <textAlign>center</textAlign>
  7572.         <font>Geneva</font>
  7573.         <textSize>12</textSize>
  7574.         <textStyle>plain</textStyle>
  7575.         <name>FullMove</name>
  7576.         <script>on mouseUp
  7577. answer "Move a :" with "File" or "Folder"
  7578. put it into What
  7579.  
  7580. if What is "File"
  7581. then put FilePath(empty,"File to move :") into Path
  7582. else put FolderPath("Dossier to move :") into Path
  7583.  
  7584. if Path is empty then exit mouseUp
  7585.  
  7586. put FolderPath("Destination folder :") into Dest
  7587. if Dest Γëá empty
  7588. then
  7589. FullMove Path,Dest
  7590. if the Result Γëá empty
  7591. then answer the Result
  7592. else answer What && "moved"
  7593. end if
  7594. end mouseUp
  7595. </script>
  7596.     </part>
  7597.     <content>
  7598.         <layer>card</layer>
  7599.         <id>1</id>
  7600.         <text>
  7601.  
  7602.                                               FullMove 1.1
  7603.  
  7604.                                           by Fr├⌐d├⌐ric RINALDI
  7605.  
  7606.  
  7607. DESCRIPTION
  7608. ------------
  7609.   FullMove allows to move a file or folder on a same volume.
  7610.  
  7611. SYNTAX
  7612. --------
  7613.             FullMove <prov path>,<dest path>[,"DontResolveAlias"]
  7614.  
  7615. PARAMETERS
  7616. ------------
  7617.    <prov path> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  7618.  
  7619.    <dest path> must not include the name of the item to move, but just its path.
  7620.  
  7621.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  7622.  
  7623.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  7624.  
  7625.  
  7626. USING
  7627. -----
  7628. If an error occurs, FullMove can return :
  7629.      "Error : Not a file"
  7630.      "Error : Not a folder"
  7631.      "Error : Alias file not supported"
  7632.      "Error : Volume not found"
  7633.      "Error : Bad Name"
  7634.      "Error : File not found"
  7635.      "Error : Folder not found"
  7636.      "Error : File is busy"
  7637.      "Error : I/O Error"
  7638.      "Error : Folder is full"
  7639.      "Error : Volume is locked"
  7640.      "Error : No resource fork"
  7641.      "Error : Duplicate file/folder name"
  7642.      "Error : Moving whole volume not allowed"
  7643.      "Error : Not an AppleShare volume"
  7644.      "Error : AppleShare insufficient privileges"
  7645.      "Error : Missing or empty parameter(s)"
  7646.      "Error : Third param can only be "DontResolveAlias""
  7647.      "Error : Cannot move to different volume"
  7648.      "Error : Same prov and dest folder"
  7649.  
  7650.  
  7651. HISTORY
  7652. --------
  7653. 1.1 :                                                                                          08/04/91
  7654. ΓÇó Added support for System 7.0 alias files
  7655. ΓÇó General enhancement of the code
  7656. ΓÇó Added "DontResolveAlias" parameter
  7657. ΓÇó Added "=" param for online help
  7658.  
  7659.  
  7660.   This stack uses FilePath & FolderPath XFCNs, ┬⌐ 1898, 1990 Apple Computer, Inc.
  7661. </text>
  7662.     </content>
  7663.     <name>FullMove 1.1</name>
  7664.     <script>
  7665.  
  7666.  
  7667.  
  7668. on opencard
  7669. end opencard
  7670.  
  7671. on closeCard
  7672. end closeCard
  7673.  
  7674. </script>
  7675. </card>
  7676.  
  7677.  
  7678. card_12862.xml
  7679. <?xml version="1.0" encoding="utf-8" ?>
  7680. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  7681. <card>
  7682.     <id>12862</id>
  7683.     <filler1>0</filler1>
  7684.     <bitmap>BMAP_25715.pbm</bitmap>
  7685.     <cantDelete> <false /> </cantDelete>
  7686.     <showPict> <true /> </showPict>
  7687.     <dontSearch> <false /> </dontSearch>
  7688.     <owner>46925</owner>
  7689.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  7690.     <part>
  7691.         <id>1</id>
  7692.         <type>field</type>
  7693.         <visible> <true /> </visible>
  7694.         <dontWrap> <false /> </dontWrap>
  7695.         <dontSearch> <false /> </dontSearch>
  7696.         <sharedText> <false /> </sharedText>
  7697.         <fixedLineHeight> <true /> </fixedLineHeight>
  7698.         <autoTab> <false /> </autoTab>
  7699.         <lockText> <true /> </lockText>
  7700.         <rect>
  7701.             <left>69</left>
  7702.             <top>68</top>
  7703.             <right>434</right>
  7704.             <bottom>252</bottom>
  7705.         </rect>
  7706.         <style>scrolling</style>
  7707.         <autoSelect> <false /> </autoSelect>
  7708.         <showLines> <false /> </showLines>
  7709.         <wideMargins> <false /> </wideMargins>
  7710.         <multipleLines> <false /> </multipleLines>
  7711.         <reservedFamily> 0 </reservedFamily>
  7712.         <titleWidth>0</titleWidth>
  7713.         <icon>0</icon>
  7714.         <textAlign>left</textAlign>
  7715.         <font>Geneva</font>
  7716.         <textSize>9</textSize>
  7717.         <textStyle>plain</textStyle>
  7718.         <textHeight>12</textHeight>
  7719.         <name></name>
  7720.         <script></script>
  7721.     </part>
  7722.     <part>
  7723.         <id>25</id>
  7724.         <type>button</type>
  7725.         <visible> <true /> </visible>
  7726.         <reserved5> 0 </reserved5>
  7727.         <reserved4> 0 </reserved4>
  7728.         <reserved3> 0 </reserved3>
  7729.         <reserved2> 0 </reserved2>
  7730.         <reserved1> 0 </reserved1>
  7731.         <enabled> <true /> </enabled>
  7732.         <rect>
  7733.             <left>201</left>
  7734.             <top>278</top>
  7735.             <right>346</right>
  7736.             <bottom>316</bottom>
  7737.         </rect>
  7738.         <style>roundrect</style>
  7739.         <showName> <true /> </showName>
  7740.         <highlight> <false /> </highlight>
  7741.         <autoHighlight> <true /> </autoHighlight>
  7742.         <sharedHighlight> <true /> </sharedHighlight>
  7743.         <family>0</family>
  7744.         <titleWidth>0</titleWidth>
  7745.         <icon>0</icon>
  7746.         <textAlign>center</textAlign>
  7747.         <font>Geneva</font>
  7748.         <textSize>12</textSize>
  7749.         <textStyle>plain</textStyle>
  7750.         <name>FullOffset</name>
  7751.         <script>on mouseUp
  7752. ask "Search what :" with "Frederic"
  7753. if it is empty then exit mouseUp
  7754. put it into Pattern
  7755.  
  7756. answer "International" with "false" or "true"
  7757.  
  7758. answer FullOffset(Pattern,cd fld 1,it)
  7759. end mouseUp</script>
  7760.     </part>
  7761.     <part>
  7762.         <id>26</id>
  7763.         <type>field</type>
  7764.         <visible> <false /> </visible>
  7765.         <dontWrap> <false /> </dontWrap>
  7766.         <dontSearch> <false /> </dontSearch>
  7767.         <sharedText> <false /> </sharedText>
  7768.         <fixedLineHeight> <true /> </fixedLineHeight>
  7769.         <autoTab> <false /> </autoTab>
  7770.         <lockText> <true /> </lockText>
  7771.         <rect>
  7772.             <left>98</left>
  7773.             <top>87</top>
  7774.             <right>408</right>
  7775.             <bottom>222</bottom>
  7776.         </rect>
  7777.         <style>shadow</style>
  7778.         <autoSelect> <false /> </autoSelect>
  7779.         <showLines> <false /> </showLines>
  7780.         <wideMargins> <true /> </wideMargins>
  7781.         <multipleLines> <false /> </multipleLines>
  7782.         <reservedFamily> 0 </reservedFamily>
  7783.         <titleWidth>0</titleWidth>
  7784.         <icon>0</icon>
  7785.         <textAlign>left</textAlign>
  7786.         <font>Geneva</font>
  7787.         <textSize>12</textSize>
  7788.         <textStyle>plain</textStyle>
  7789.         <textHeight>16</textHeight>
  7790.         <name></name>
  7791.         <script>on mouseUp
  7792. hide cd fld 3
  7793. hide cd fld 2
  7794. end mouseUp</script>
  7795.     </part>
  7796.     <part>
  7797.         <id>27</id>
  7798.         <type>field</type>
  7799.         <visible> <false /> </visible>
  7800.         <dontWrap> <false /> </dontWrap>
  7801.         <dontSearch> <false /> </dontSearch>
  7802.         <sharedText> <false /> </sharedText>
  7803.         <fixedLineHeight> <true /> </fixedLineHeight>
  7804.         <autoTab> <false /> </autoTab>
  7805.         <lockText> <true /> </lockText>
  7806.         <rect>
  7807.             <left>179</left>
  7808.             <top>107</top>
  7809.             <right>381</right>
  7810.             <bottom>207</bottom>
  7811.         </rect>
  7812.         <style>transparent</style>
  7813.         <autoSelect> <false /> </autoSelect>
  7814.         <showLines> <false /> </showLines>
  7815.         <wideMargins> <false /> </wideMargins>
  7816.         <multipleLines> <false /> </multipleLines>
  7817.         <reservedFamily> 0 </reservedFamily>
  7818.         <titleWidth>0</titleWidth>
  7819.         <icon>0</icon>
  7820.         <textAlign>left</textAlign>
  7821.         <font>Geneva</font>
  7822.         <textSize>10</textSize>
  7823.         <textStyle>plain</textStyle>
  7824.         <textHeight>16</textHeight>
  7825.         <name></name>
  7826.         <script>on mouseUp
  7827. hide cd fld 3
  7828. hide cd fld 2
  7829. end mouseUp</script>
  7830.     </part>
  7831.     <part>
  7832.         <id>28</id>
  7833.         <type>field</type>
  7834.         <visible> <false /> </visible>
  7835.         <dontWrap> <false /> </dontWrap>
  7836.         <dontSearch> <false /> </dontSearch>
  7837.         <sharedText> <false /> </sharedText>
  7838.         <fixedLineHeight> <true /> </fixedLineHeight>
  7839.         <autoTab> <false /> </autoTab>
  7840.         <lockText> <true /> </lockText>
  7841.         <rect>
  7842.             <left>166</left>
  7843.             <top>121</top>
  7844.             <right>338</right>
  7845.             <bottom>202</bottom>
  7846.         </rect>
  7847.         <style>shadow</style>
  7848.         <autoSelect> <false /> </autoSelect>
  7849.         <showLines> <true /> </showLines>
  7850.         <wideMargins> <true /> </wideMargins>
  7851.         <multipleLines> <false /> </multipleLines>
  7852.         <reservedFamily> 0 </reservedFamily>
  7853.         <titleWidth>0</titleWidth>
  7854.         <icon>0</icon>
  7855.         <textAlign>left</textAlign>
  7856.         <font>Geneva</font>
  7857.         <textSize>10</textSize>
  7858.         <textStyle>bold</textStyle>
  7859.         <textHeight>13</textHeight>
  7860.         <name></name>
  7861.         <script>on mouseUp
  7862. hide cd fld 4
  7863. hide cd fld 5
  7864. end mouseUp</script>
  7865.     </part>
  7866.     <part>
  7867.         <id>29</id>
  7868.         <type>field</type>
  7869.         <visible> <false /> </visible>
  7870.         <dontWrap> <false /> </dontWrap>
  7871.         <dontSearch> <false /> </dontSearch>
  7872.         <sharedText> <false /> </sharedText>
  7873.         <fixedLineHeight> <true /> </fixedLineHeight>
  7874.         <autoTab> <false /> </autoTab>
  7875.         <lockText> <true /> </lockText>
  7876.         <rect>
  7877.             <left>236</left>
  7878.             <top>151</top>
  7879.             <right>331</right>
  7880.             <bottom>194</bottom>
  7881.         </rect>
  7882.         <style>transparent</style>
  7883.         <autoSelect> <false /> </autoSelect>
  7884.         <showLines> <false /> </showLines>
  7885.         <wideMargins> <false /> </wideMargins>
  7886.         <multipleLines> <false /> </multipleLines>
  7887.         <reservedFamily> 0 </reservedFamily>
  7888.         <titleWidth>0</titleWidth>
  7889.         <icon>0</icon>
  7890.         <textAlign>left</textAlign>
  7891.         <font>Geneva</font>
  7892.         <textSize>10</textSize>
  7893.         <textStyle>plain</textStyle>
  7894.         <textHeight>13</textHeight>
  7895.         <name></name>
  7896.         <script>on mouseUp
  7897. hide cd fld 4
  7898. hide cd fld 5
  7899. end mouseUp</script>
  7900.     </part>
  7901.     <content>
  7902.         <layer>card</layer>
  7903.         <id>1</id>
  7904.         <text>
  7905.  
  7906.                                              FullOffset 1.0
  7907.  
  7908.                                         par Fr├⌐d├⌐ric RINALDI
  7909.  
  7910.  
  7911. DESCRIPTION
  7912. ------------
  7913.    FullOffset is an extension to offset() internal HyperTalk instruction. It allows to define to search mode as well as starting char.
  7914.  
  7915.  
  7916. SYNTAX
  7917. -------
  7918.              FullOffset(<pattern>,<text>[,<offset>][,<international>])
  7919.  
  7920.  
  7921. PARAMETRES
  7922. ------------
  7923.    <pattern> is the string to be searched.
  7924.  
  7925.    <text> is the string where <pattern> will be searched.
  7926.  
  7927.    <offset> is an integer giving the starting char. Default is 1.
  7928.  
  7929.    <international> is a boolean telling if the search must ignore diacritical marks (true) or be full ASCII (false). Default is true.
  7930.  
  7931.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  7932.  
  7933.  
  7934. USING
  7935. -----
  7936.    The XFCN returns the char number of the found pattern, 0 is not found.
  7937.  
  7938.    The search is not case-sensitive.
  7939.  
  7940.  
  7941. ERRORS
  7942. -------
  7943. If an error occurs, FullOffset can return :
  7944.  
  7945.      "Error : Missing parameter(s)"
  7946.      "Error : Pattern cannot exceed 255 chars"
  7947.      "Error : Offset param must be a positive integer"
  7948.  
  7949.  
  7950. HISTORY
  7951. --------
  7952. 1.0 :                                                                                          12/25/91
  7953. ΓÇó First release
  7954. </text>
  7955.     </content>
  7956.     <content>
  7957.         <layer>card</layer>
  7958.         <id>26</id>
  7959.         <text>
  7960. CPU
  7961. System
  7962. Processor
  7963. FPU
  7964. ColoQD
  7965. Keyboard</text>
  7966.     </content>
  7967.     <content>
  7968.         <layer>card</layer>
  7969.         <id>27</id>
  7970.         <text>Macintosh IIx
  7971. 6.4
  7972. MC68030
  7973. true
  7974. true
  7975. Apple Extended keyboard</text>
  7976.     </content>
  7977.     <content>
  7978.         <layer>card</layer>
  7979.         <id>28</id>
  7980.         <text>             Owner Group  All
  7981.  
  7982. See Folder
  7983. See Files
  7984. Modify
  7985. </text>
  7986.     </content>
  7987.     <content>
  7988.         <layer>card</layer>
  7989.         <id>29</id>
  7990.         <text>true,false,true
  7991. true,false,true
  7992. true,false,false</text>
  7993.     </content>
  7994.     <name></name>
  7995.     <script></script>
  7996. </card>
  7997.  
  7998.  
  7999. card_18193.xml
  8000. <?xml version="1.0" encoding="utf-8" ?>
  8001. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8002. <card>
  8003.     <id>18193</id>
  8004.     <filler1>0</filler1>
  8005.     <bitmap>BMAP_18447.pbm</bitmap>
  8006.     <cantDelete> <false /> </cantDelete>
  8007.     <showPict> <true /> </showPict>
  8008.     <dontSearch> <false /> </dontSearch>
  8009.     <owner>46925</owner>
  8010.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  8011.     <part>
  8012.         <id>1</id>
  8013.         <type>field</type>
  8014.         <visible> <true /> </visible>
  8015.         <dontWrap> <false /> </dontWrap>
  8016.         <dontSearch> <false /> </dontSearch>
  8017.         <sharedText> <false /> </sharedText>
  8018.         <fixedLineHeight> <true /> </fixedLineHeight>
  8019.         <autoTab> <false /> </autoTab>
  8020.         <lockText> <true /> </lockText>
  8021.         <rect>
  8022.             <left>69</left>
  8023.             <top>68</top>
  8024.             <right>434</right>
  8025.             <bottom>252</bottom>
  8026.         </rect>
  8027.         <style>scrolling</style>
  8028.         <autoSelect> <false /> </autoSelect>
  8029.         <showLines> <false /> </showLines>
  8030.         <wideMargins> <false /> </wideMargins>
  8031.         <multipleLines> <false /> </multipleLines>
  8032.         <reservedFamily> 0 </reservedFamily>
  8033.         <titleWidth>0</titleWidth>
  8034.         <icon>0</icon>
  8035.         <textAlign>left</textAlign>
  8036.         <font>Geneva</font>
  8037.         <textSize>9</textSize>
  8038.         <textStyle>plain</textStyle>
  8039.         <textHeight>12</textHeight>
  8040.         <name>Text</name>
  8041.         <script></script>
  8042.     </part>
  8043.     <part>
  8044.         <id>2</id>
  8045.         <type>button</type>
  8046.         <visible> <true /> </visible>
  8047.         <reserved5> 0 </reserved5>
  8048.         <reserved4> 0 </reserved4>
  8049.         <reserved3> 0 </reserved3>
  8050.         <reserved2> 0 </reserved2>
  8051.         <reserved1> 0 </reserved1>
  8052.         <enabled> <true /> </enabled>
  8053.         <rect>
  8054.             <left>174</left>
  8055.             <top>281</top>
  8056.             <right>343</right>
  8057.             <bottom>311</bottom>
  8058.         </rect>
  8059.         <style>roundrect</style>
  8060.         <showName> <true /> </showName>
  8061.         <highlight> <false /> </highlight>
  8062.         <autoHighlight> <true /> </autoHighlight>
  8063.         <sharedHighlight> <true /> </sharedHighlight>
  8064.         <family>0</family>
  8065.         <titleWidth>0</titleWidth>
  8066.         <icon>0</icon>
  8067.         <textAlign>center</textAlign>
  8068.         <font>Geneva</font>
  8069.         <textSize>12</textSize>
  8070.         <textStyle>plain</textStyle>
  8071.         <name>FullRemove</name>
  8072.         <script>on mouseUp
  8073. answer "Delete a :" with "File" or "Folder"
  8074. put it into What
  8075.  
  8076. if What is "File"
  8077. then put FilePath(empty,"File to delete :") into Path
  8078. else put FolderPath("Folder to delete :") into Path
  8079.  
  8080. if Path is empty then exit mouseUp
  8081.  
  8082. FullRemove Path
  8083.  
  8084. if the Result Γëá empty
  8085. then answer the Result
  8086. else answer What && "deleted"
  8087. end mouseUp
  8088. </script>
  8089.     </part>
  8090.     <content>
  8091.         <layer>card</layer>
  8092.         <id>1</id>
  8093.         <text>
  8094.                                             FullRemove 1.0
  8095.  
  8096.                                         par Fr├⌐d├⌐ric RINALDI
  8097.  
  8098.  
  8099. DESCRIPTION
  8100. ------------
  8101.   FullRemove allows to delete a file or folder and all its content from a volume.
  8102.  
  8103.  
  8104. SYNTAX
  8105. -------
  8106.             FullRemove <file|folder path|name>[,"DontResolveAlias"]
  8107.  
  8108.  
  8109. PARAMETERS
  8110. ------------
  8111.    <folder path|name> can be a single name or whole pathname of a file or folder. If just a single name is supplied, file or folder is assumed to be in the same folder than the current stack.
  8112.  
  8113.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  8114.  
  8115.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  8116.  
  8117.  
  8118. ERRORS
  8119. -------
  8120.    If the remove is successfull, the Result will be empty. If an error occurs, the Result can return :
  8121.      "Error : Alias file not supported"
  8122.      "Error : Volume not found"
  8123.      "Error : Bad Name"
  8124.      "Error : File not found"
  8125.      "Error : Folder not found"
  8126.      "Error : File is busy"
  8127.      "Error : I/O Error"
  8128.      "Error : Folder is full"
  8129.      "Error : Volume is locked"
  8130.      "Error : No resource fork"
  8131.      "Error : Duplicate file/folder name"
  8132.      "Error : Moving whole volume not allowed"
  8133.      "Error : Not an AppleShare volume"
  8134.      "Error : AppleShare insufficient privileges"
  8135.      "Error : Missing or empty parameter(s)"
  8136.      "Error : Second param can only be "DontResolveAlias"
  8137.  
  8138.  
  8139. HISTORY
  8140. --------
  8141. 1.0                                                                                           08/12/91
  8142.  
  8143.  
  8144.   This stack uses FilePath & FolderPath XFCNs, ┬⌐ 1898, 1990 Apple Computer, Inc.
  8145. </text>
  8146.     </content>
  8147.     <name>FullRemove 1.0</name>
  8148.     <script>
  8149.  
  8150.  
  8151.  
  8152. on opencard
  8153. end opencard
  8154.  
  8155. on closeCard
  8156. end closeCard
  8157.  
  8158. </script>
  8159. </card>
  8160.  
  8161.  
  8162. card_18815.xml
  8163. <?xml version="1.0" encoding="utf-8" ?>
  8164. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8165. <card>
  8166.     <id>18815</id>
  8167.     <filler1>0</filler1>
  8168.     <bitmap>BMAP_32379.pbm</bitmap>
  8169.     <cantDelete> <false /> </cantDelete>
  8170.     <showPict> <true /> </showPict>
  8171.     <dontSearch> <false /> </dontSearch>
  8172.     <owner>46925</owner>
  8173.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  8174.     <part>
  8175.         <id>1</id>
  8176.         <type>field</type>
  8177.         <visible> <true /> </visible>
  8178.         <dontWrap> <false /> </dontWrap>
  8179.         <dontSearch> <false /> </dontSearch>
  8180.         <sharedText> <false /> </sharedText>
  8181.         <fixedLineHeight> <true /> </fixedLineHeight>
  8182.         <autoTab> <false /> </autoTab>
  8183.         <lockText> <true /> </lockText>
  8184.         <rect>
  8185.             <left>69</left>
  8186.             <top>68</top>
  8187.             <right>434</right>
  8188.             <bottom>252</bottom>
  8189.         </rect>
  8190.         <style>scrolling</style>
  8191.         <autoSelect> <false /> </autoSelect>
  8192.         <showLines> <false /> </showLines>
  8193.         <wideMargins> <false /> </wideMargins>
  8194.         <multipleLines> <false /> </multipleLines>
  8195.         <reservedFamily> 0 </reservedFamily>
  8196.         <titleWidth>0</titleWidth>
  8197.         <icon>0</icon>
  8198.         <textAlign>left</textAlign>
  8199.         <font>Geneva</font>
  8200.         <textSize>9</textSize>
  8201.         <textStyle>plain</textStyle>
  8202.         <textHeight>12</textHeight>
  8203.         <name></name>
  8204.         <script></script>
  8205.     </part>
  8206.     <part>
  8207.         <id>5</id>
  8208.         <type>button</type>
  8209.         <visible> <true /> </visible>
  8210.         <reserved5> 0 </reserved5>
  8211.         <reserved4> 0 </reserved4>
  8212.         <reserved3> 0 </reserved3>
  8213.         <reserved2> 0 </reserved2>
  8214.         <reserved1> 0 </reserved1>
  8215.         <enabled> <true /> </enabled>
  8216.         <rect>
  8217.             <left>174</left>
  8218.             <top>281</top>
  8219.             <right>343</right>
  8220.             <bottom>311</bottom>
  8221.         </rect>
  8222.         <style>roundrect</style>
  8223.         <showName> <true /> </showName>
  8224.         <highlight> <false /> </highlight>
  8225.         <autoHighlight> <true /> </autoHighlight>
  8226.         <sharedHighlight> <true /> </sharedHighlight>
  8227.         <family>0</family>
  8228.         <titleWidth>0</titleWidth>
  8229.         <icon>0</icon>
  8230.         <textAlign>center</textAlign>
  8231.         <font>Geneva</font>
  8232.         <textSize>12</textSize>
  8233.         <textStyle>plain</textStyle>
  8234.         <name>FullRename</name>
  8235.         <script>on mouseUp
  8236. answer "Rename a :" with "File" or "Folder"
  8237. put it into What
  8238. if What is "File"
  8239. then
  8240. put FilePath(empty,"File to rename") into Path
  8241. else
  8242. put FolderName("Folder to rename") into Path
  8243. delete last char of Path
  8244. end if
  8245.  
  8246. if Path is empty then exit mouseUp
  8247.  
  8248. ask "New name :" with leafName(Path)
  8249. if it Γëá empty
  8250. then
  8251. FullRename Path,it
  8252. if the Result Γëá empty
  8253. then answer the Result
  8254. else answer What && "renamed"
  8255. end if
  8256. end mouseUp
  8257. </script>
  8258.     </part>
  8259.     <content>
  8260.         <layer>card</layer>
  8261.         <id>1</id>
  8262.         <text>
  8263.  
  8264.                                              FullRename 1.4
  8265.  
  8266.                                           by Fr├⌐d├⌐ric RINALDI
  8267.  
  8268.  
  8269. DESCRIPTION
  8270. ------------
  8271.   FullRename XCMD allows to rename a file or folder, keeping previous privileges when working on a server folder.
  8272.  
  8273.  
  8274. SYNTAX
  8275. --------
  8276.     FullRename <file/folder pathname>,<new name>[,"DontResolveAlias"]
  8277.  
  8278. PARAMETERS
  8279. ------------
  8280.  
  8281.    <file/folder pathname> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  8282.  
  8283.    <new name> is a simple string.
  8284.  
  8285.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  8286.  
  8287.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  8288.  
  8289.  
  8290. USING
  8291. -----
  8292. If an error occurs, FullRename can return :
  8293.  
  8294.      "Error : Not a file"
  8295.      "Error : Not a folder"
  8296.      "Error : Alias file not supported"
  8297.      "Error : Volume not found"
  8298.      "Error : Bad Name"
  8299.      "Error : File not found"
  8300.      "Error : Folder not found"
  8301.      "Error : File is busy"
  8302.      "Error : I/O Error"
  8303.      "Error : Folder is full"
  8304.      "Error : Volume is locked"
  8305.      "Error : No resource fork"
  8306.      "Error : Duplicate file/folder name"
  8307.      "Error : Moving whole volume not allowed"
  8308.      "Error : Not an AppleShare volume"
  8309.      "Error : AppleShare insufficient privileges"
  8310.      "Error : Missing or empty parameter(s)"
  8311.      "Error : Seconds params must be a single name"
  8312.      "Error : Third param can only be "DontResolveAlias""
  8313.  
  8314.  
  8315. HISTORY
  8316. -------
  8317. 1.4                                                                                            06/09/92
  8318. ΓÇó Fixed volume renaming when file has the same name
  8319.  
  8320. 1.3                                                                                            03/10/92
  8321. ΓÇó Fixed volume renaming
  8322.  
  8323. 1.2 :                                                                                          12/25/91
  8324. ΓÇó Fixed alias file bug under System 7.0.1
  8325.  
  8326. 1.1 :
  8327. ΓÇó Added support for System 7.0 alias files
  8328. ΓÇó General enhancement of the code
  8329. ΓÇó Added "DontResolveAlias" parameter
  8330. ΓÇó Added "=" param for online help
  8331.  
  8332.  
  8333. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.)
  8334. LeafName XFCN (by Kevin CALHOUN), FolderName XFCN (by Eric CARLSON ,and Anup MURARKA)
  8335. </text>
  8336.     </content>
  8337.     <name></name>
  8338.     <script></script>
  8339. </card>
  8340.  
  8341.  
  8342. card_19304.xml
  8343. <?xml version="1.0" encoding="utf-8" ?>
  8344. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8345. <card>
  8346.     <id>19304</id>
  8347.     <filler1>0</filler1>
  8348.     <bitmap>BMAP_32909.pbm</bitmap>
  8349.     <cantDelete> <false /> </cantDelete>
  8350.     <showPict> <true /> </showPict>
  8351.     <dontSearch> <false /> </dontSearch>
  8352.     <owner>46925</owner>
  8353.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  8354.     <part>
  8355.         <id>1</id>
  8356.         <type>field</type>
  8357.         <visible> <true /> </visible>
  8358.         <dontWrap> <false /> </dontWrap>
  8359.         <dontSearch> <false /> </dontSearch>
  8360.         <sharedText> <false /> </sharedText>
  8361.         <fixedLineHeight> <true /> </fixedLineHeight>
  8362.         <autoTab> <false /> </autoTab>
  8363.         <lockText> <true /> </lockText>
  8364.         <rect>
  8365.             <left>69</left>
  8366.             <top>68</top>
  8367.             <right>434</right>
  8368.             <bottom>252</bottom>
  8369.         </rect>
  8370.         <style>scrolling</style>
  8371.         <autoSelect> <false /> </autoSelect>
  8372.         <showLines> <false /> </showLines>
  8373.         <wideMargins> <false /> </wideMargins>
  8374.         <multipleLines> <false /> </multipleLines>
  8375.         <reservedFamily> 0 </reservedFamily>
  8376.         <titleWidth>0</titleWidth>
  8377.         <icon>0</icon>
  8378.         <textAlign>left</textAlign>
  8379.         <font>Geneva</font>
  8380.         <textSize>9</textSize>
  8381.         <textStyle>plain</textStyle>
  8382.         <textHeight>12</textHeight>
  8383.         <name></name>
  8384.         <script></script>
  8385.     </part>
  8386.     <part>
  8387.         <id>5</id>
  8388.         <type>button</type>
  8389.         <visible> <true /> </visible>
  8390.         <reserved5> 0 </reserved5>
  8391.         <reserved4> 0 </reserved4>
  8392.         <reserved3> 0 </reserved3>
  8393.         <reserved2> 0 </reserved2>
  8394.         <reserved1> 0 </reserved1>
  8395.         <enabled> <true /> </enabled>
  8396.         <rect>
  8397.             <left>174</left>
  8398.             <top>281</top>
  8399.             <right>343</right>
  8400.             <bottom>311</bottom>
  8401.         </rect>
  8402.         <style>roundrect</style>
  8403.         <showName> <true /> </showName>
  8404.         <highlight> <false /> </highlight>
  8405.         <autoHighlight> <true /> </autoHighlight>
  8406.         <sharedHighlight> <true /> </sharedHighlight>
  8407.         <family>0</family>
  8408.         <titleWidth>0</titleWidth>
  8409.         <icon>0</icon>
  8410.         <textAlign>center</textAlign>
  8411.         <font>Geneva</font>
  8412.         <textSize>12</textSize>
  8413.         <textStyle>plain</textStyle>
  8414.         <name>FullReplace</name>
  8415.         <script>on mouseUp
  8416. put line 43 to 200 of cd fld 1 into cd fld 2
  8417. show cd fld 2
  8418. ask "Remplace :" with "e"
  8419. if it = empty
  8420. then exit mouseUp
  8421. put it into Search
  8422. ask "By :" with "ΓÇó"
  8423. if it = empty
  8424. then exit mouseUp
  8425. put FullReplace(cd fld 2,Search,it) into cd fld 2
  8426. end mouseUp</script>
  8427.     </part>
  8428.     <part>
  8429.         <id>17</id>
  8430.         <type>field</type>
  8431.         <visible> <false /> </visible>
  8432.         <dontWrap> <false /> </dontWrap>
  8433.         <dontSearch> <false /> </dontSearch>
  8434.         <sharedText> <false /> </sharedText>
  8435.         <fixedLineHeight> <true /> </fixedLineHeight>
  8436.         <autoTab> <false /> </autoTab>
  8437.         <lockText> <true /> </lockText>
  8438.         <rect>
  8439.             <left>120</left>
  8440.             <top>62</top>
  8441.             <right>393</right>
  8442.             <bottom>271</bottom>
  8443.         </rect>
  8444.         <style>shadow</style>
  8445.         <autoSelect> <false /> </autoSelect>
  8446.         <showLines> <false /> </showLines>
  8447.         <wideMargins> <false /> </wideMargins>
  8448.         <multipleLines> <false /> </multipleLines>
  8449.         <reservedFamily> 0 </reservedFamily>
  8450.         <titleWidth>0</titleWidth>
  8451.         <icon>0</icon>
  8452.         <textAlign>left</textAlign>
  8453.         <font>Geneva</font>
  8454.         <textSize>9</textSize>
  8455.         <textStyle>plain</textStyle>
  8456.         <textHeight>12</textHeight>
  8457.         <name></name>
  8458.         <script>on mouseup
  8459. hide me
  8460. end mouseUP</script>
  8461.     </part>
  8462.     <content>
  8463.         <layer>card</layer>
  8464.         <id>1</id>
  8465.         <text>
  8466.  
  8467.                                               FullReplace 1.1
  8468.  
  8469.                                           by Fr├⌐d├⌐ric RINALDI
  8470.  
  8471.  
  8472. DESCRIPTION
  8473. ------------
  8474.    FullReplace allows to strip or replace a string in a text.
  8475.  
  8476. SYNTAXE
  8477. ---------
  8478.             FullReplace (<input>,<search pattern>[,<replace pattern>
  8479.                                          [,<all>[,<offset>]]])
  8480.  
  8481. PARAMETRES
  8482. ------------
  8483.    Parameters 3 to 5 are optionals.
  8484.  
  8485.    <input> is the text that will be parsed.
  8486.  
  8487.    <search pattern> is the string to search for.
  8488.  
  8489.    <replace pattern>  is the replacement string to search for. It may be empty.
  8490.  
  8491.    <all> is a boolean, telling if all matches (true) must be handled, or only the first one (false). Default is true.
  8492.  
  8493.    <offset> is the char number at which the search will begin. Default is 1.
  8494.  
  8495.    Using "!" and "?" returns online help (resp. about and syntax).
  8496.  
  8497. USING
  8498. ------
  8499.   FullReplace will return the input text, once replacement done. Pattern searching is not cas sensitive.
  8500.  
  8501. If an error occurs, FullREplace will return :
  8502.      "Error : Missing parameter(s)"
  8503.      "Error : Param #4 must be boolean"
  8504.      "Error : Param #5 must be > 0"
  8505.  
  8506. HISTORY
  8507. -------
  8508. 1.1                                                                                            02/23/92
  8509. ΓÇó Search no more limited to 32000 chars
  8510. </text>
  8511.     </content>
  8512.     <content>
  8513.         <layer>card</layer>
  8514.         <id>17</id>
  8515.         <text>This (thΓÇósΓÇó) ΓÇóxtΓÇórnal(s) is (arΓÇó) FrΓÇóΓÇóWarΓÇó,allowing unlimitΓÇód usΓÇó in any non-commΓÇórcial stack. You just nΓÇóΓÇód in this casΓÇó to mΓÇóntion thΓÇó author's namΓÇó and copyright in your stack.
  8516. Any commΓÇórcial usΓÇó must bΓÇó licΓÇónsΓÇód and aknowlΓÇódgΓÇód by thΓÇó author.
  8517.  
  8518.                                      ┬⌐ F. Rinaldi - 1991
  8519.  
  8520. ApplΓÇóLink: RINALDI1        CalvaCom : FR10        CompusΓÇórvΓÇó : 71170,2111</text>
  8521.     </content>
  8522.     <name></name>
  8523.     <script></script>
  8524. </card>
  8525.  
  8526.  
  8527. card_19894.xml
  8528. <?xml version="1.0" encoding="utf-8" ?>
  8529. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8530. <card>
  8531.     <id>19894</id>
  8532.     <filler1>0</filler1>
  8533.     <bitmap>BMAP_39174.pbm</bitmap>
  8534.     <cantDelete> <false /> </cantDelete>
  8535.     <showPict> <true /> </showPict>
  8536.     <dontSearch> <false /> </dontSearch>
  8537.     <owner>46925</owner>
  8538.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  8539.     <part>
  8540.         <id>1</id>
  8541.         <type>field</type>
  8542.         <visible> <true /> </visible>
  8543.         <dontWrap> <false /> </dontWrap>
  8544.         <dontSearch> <false /> </dontSearch>
  8545.         <sharedText> <false /> </sharedText>
  8546.         <fixedLineHeight> <true /> </fixedLineHeight>
  8547.         <autoTab> <false /> </autoTab>
  8548.         <lockText> <true /> </lockText>
  8549.         <rect>
  8550.             <left>69</left>
  8551.             <top>68</top>
  8552.             <right>434</right>
  8553.             <bottom>252</bottom>
  8554.         </rect>
  8555.         <style>scrolling</style>
  8556.         <autoSelect> <false /> </autoSelect>
  8557.         <showLines> <false /> </showLines>
  8558.         <wideMargins> <false /> </wideMargins>
  8559.         <multipleLines> <false /> </multipleLines>
  8560.         <reservedFamily> 0 </reservedFamily>
  8561.         <titleWidth>0</titleWidth>
  8562.         <icon>0</icon>
  8563.         <textAlign>left</textAlign>
  8564.         <font>Geneva</font>
  8565.         <textSize>9</textSize>
  8566.         <textStyle>plain</textStyle>
  8567.         <textHeight>12</textHeight>
  8568.         <name></name>
  8569.         <script></script>
  8570.     </part>
  8571.     <part>
  8572.         <id>5</id>
  8573.         <type>button</type>
  8574.         <visible> <true /> </visible>
  8575.         <reserved5> 0 </reserved5>
  8576.         <reserved4> 0 </reserved4>
  8577.         <reserved3> 0 </reserved3>
  8578.         <reserved2> 0 </reserved2>
  8579.         <reserved1> 0 </reserved1>
  8580.         <enabled> <true /> </enabled>
  8581.         <rect>
  8582.             <left>174</left>
  8583.             <top>281</top>
  8584.             <right>343</right>
  8585.             <bottom>311</bottom>
  8586.         </rect>
  8587.         <style>roundrect</style>
  8588.         <showName> <true /> </showName>
  8589.         <highlight> <false /> </highlight>
  8590.         <autoHighlight> <true /> </autoHighlight>
  8591.         <sharedHighlight> <true /> </sharedHighlight>
  8592.         <family>0</family>
  8593.         <titleWidth>0</titleWidth>
  8594.         <icon>0</icon>
  8595.         <textAlign>center</textAlign>
  8596.         <font>Geneva</font>
  8597.         <textSize>12</textSize>
  8598.         <textStyle>plain</textStyle>
  8599.         <name>FullResList</name>
  8600.         <script>on mouseUp
  8601. ask "Resource type(s) :" with "XFCN"
  8602. if it Γëá empty
  8603. then put "T=" & it into Type
  8604. else put "T=ALL" into Type
  8605.  
  8606. ask "Output mask :" with "TNI"
  8607. if it Γëá empty
  8608. then put "O=" & it into Output
  8609. else put "O=TNI" into Output
  8610.  
  8611. if last word of the version ΓëÑ 2.0
  8612. then answer file "File to search in :"
  8613. else ask "PathName of file to search in :"
  8614.  
  8615. if it is empty
  8616. then get FullResList(Type,Output)
  8617. else get FullResList(Type,Output,"W=" & it)
  8618.  
  8619. if first word of it is "Error"
  8620. then
  8621. beep
  8622. answer it
  8623. else
  8624. put it into cd fld 3
  8625. ShowHide true
  8626. end if
  8627. end mouseUp</script>
  8628.     </part>
  8629.     <part>
  8630.         <id>18</id>
  8631.         <type>field</type>
  8632.         <visible> <false /> </visible>
  8633.         <dontWrap> <false /> </dontWrap>
  8634.         <dontSearch> <false /> </dontSearch>
  8635.         <sharedText> <false /> </sharedText>
  8636.         <fixedLineHeight> <true /> </fixedLineHeight>
  8637.         <autoTab> <false /> </autoTab>
  8638.         <lockText> <true /> </lockText>
  8639.         <rect>
  8640.             <left>118</left>
  8641.             <top>64</top>
  8642.             <right>381</right>
  8643.             <bottom>274</bottom>
  8644.         </rect>
  8645.         <style>shadow</style>
  8646.         <autoSelect> <false /> </autoSelect>
  8647.         <showLines> <false /> </showLines>
  8648.         <wideMargins> <false /> </wideMargins>
  8649.         <multipleLines> <false /> </multipleLines>
  8650.         <reservedFamily> 0 </reservedFamily>
  8651.         <titleWidth>0</titleWidth>
  8652.         <icon>0</icon>
  8653.         <textAlign>left</textAlign>
  8654.         <font>Geneva</font>
  8655.         <textSize>12</textSize>
  8656.         <textStyle>plain</textStyle>
  8657.         <textHeight>16</textHeight>
  8658.         <name></name>
  8659.         <script>on mouseUp
  8660. ShowHide false
  8661. end mouseUp</script>
  8662.     </part>
  8663.     <part>
  8664.         <id>19</id>
  8665.         <type>field</type>
  8666.         <visible> <false /> </visible>
  8667.         <dontWrap> <false /> </dontWrap>
  8668.         <dontSearch> <false /> </dontSearch>
  8669.         <sharedText> <false /> </sharedText>
  8670.         <fixedLineHeight> <true /> </fixedLineHeight>
  8671.         <autoTab> <false /> </autoTab>
  8672.         <lockText> <true /> </lockText>
  8673.         <rect>
  8674.             <left>151</left>
  8675.             <top>87</top>
  8676.             <right>353</right>
  8677.             <bottom>248</bottom>
  8678.         </rect>
  8679.         <style>scrolling</style>
  8680.         <autoSelect> <false /> </autoSelect>
  8681.         <showLines> <false /> </showLines>
  8682.         <wideMargins> <false /> </wideMargins>
  8683.         <multipleLines> <false /> </multipleLines>
  8684.         <reservedFamily> 0 </reservedFamily>
  8685.         <titleWidth>0</titleWidth>
  8686.         <icon>0</icon>
  8687.         <textAlign>left</textAlign>
  8688.         <font>Geneva</font>
  8689.         <textSize>9</textSize>
  8690.         <textStyle>plain</textStyle>
  8691.         <textHeight>12</textHeight>
  8692.         <name></name>
  8693.         <script>on mouseUp
  8694. ShowHide false
  8695. end mouseUp</script>
  8696.     </part>
  8697.     <content>
  8698.         <layer>card</layer>
  8699.         <id>1</id>
  8700.         <text>
  8701.  
  8702.                                               FullResList 2.0
  8703.  
  8704.                                           by Fr├⌐d├⌐ric RINALDI
  8705.  
  8706.  
  8707.  
  8708. IMPORTANT :
  8709. -----------
  8710.    In order to keep parameter coherency in version 2.0, previous <fileName> param has changed to "W=<fileName>". So you should add the "W=" prefix in your calls.
  8711.  
  8712.  
  8713. DESCRIPTION
  8714. ------------
  8715.   FullResList allows to get a list of resources informations for any file, or even to test if a resource is present.
  8716.  
  8717.  
  8718. SYNTAX
  8719. --------
  8720.       FullResList([<T=ALL|Type1[ΓǪ,TypeN]>][,<N=res name>][,<I=res id>]
  8721.                         [,<W=ALL|fileName>][,<O=A|T|N|S|I|W[ΓǪA|T|N|S|I|W]>])
  8722.  
  8723. PARAMETERS
  8724. ------------
  8725.    All parameters are optional. 
  8726.  
  8727.    <T=ALL|Type1[ΓǪ,TypeN]> allows to define one or more types of resources to list. Default is "T=ALL".
  8728.  
  8729.    <N=res name> defines the resource name to search.
  8730.  
  8731.    <I=res id> defines the resource id to search.
  8732.  
  8733.    <W=ALL|fileName> defines the resource file to search in. <fileName> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack. Aliases are also supported. Default is current stack. If "ALL" is used,  all accessible resources will be returned (Current stack + stacks in use + Home + HyperCard + System).
  8734.  
  8735.    <O=A|T|N|S|I|W[ΓǪA|T|N|S|I|W]> allows to define the output format of returned list resource entries. Order and components can be freely choosen using A (attributes), T (type), N (name), S (size), I (ID) and W (where). Default is "O=TNI".
  8736.    Attributes are returned as string that can contain any combination of :
  8737.       C (changed), R (pReload), P (Protected), L (Locked), U (pUrgeable)
  8738.       and S (Sustem heap).
  8739.  
  8740.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  8741.  
  8742.  
  8743. USING
  8744. -----
  8745.    The XFCN returns a return delimited list of entries formatted according to given output mask. Informations in each entry are comma delimited.
  8746.  
  8747.    Logical AND is computed with params "T=", "N=" and "I=".
  8748.  
  8749.  
  8750. ERRORS
  8751. -------
  8752. If an error occurs, FullResList can return :
  8753.  
  8754.      "Error : Out of memory"
  8755.      "Error : Empty parameter #x"
  8756.      "Error : Missing information following "X=""
  8757.      "Error : Out of memory"
  8758.      "Error : Bad resource ID"
  8759.      "Error : "X" not allowed in output mask"
  8760.      "Error : This file has no resource fork"
  8761.      "Error : Param #x must begin with T,N,I,O or W"
  8762.      "Error : Bad parameter format"
  8763.      "Error : Out of memory"
  8764.      "Error : No resources found"
  8765.      "Error : Bad resource type"
  8766.      "Error : Not a file"
  8767.      "Error : Alias file not supported"
  8768.      "Error : Volume not found"
  8769.      "Error : Bad Name"
  8770.      "Error : File not found"
  8771.      "Error : Folder not found"
  8772.      "Error : I/O Error"
  8773.  
  8774.  
  8775. HISTORY
  8776. --------
  8777. 2.0 :                                                                                          04/27/92
  8778. ΓÇó Added "N=" and "I=" params
  8779. ΓÇó Changed <fileName> param to "W=<fileName>"
  8780. ΓÇó Added "W" for output mask, allowing to know in which file each resource was found (useful with "T=ALL").
  8781.  
  8782. 1.3 :                                                                                          12/25/91
  8783. ΓÇó Fixed alias file bug under System 7.0.1
  8784.  
  8785. 1.2                                                                                            11/12/91
  8786. ΓÇó Added ALL in file param
  8787.  
  8788. 1.1                                                                                            10/25/91
  8789. ΓÇó Fixed minor bug due to openRFPerm
  8790.  
  8791. 1.0                                                                                            10/24/91
  8792. ΓÇó First release
  8793. </text>
  8794.     </content>
  8795.     <content>
  8796.         <layer>card</layer>
  8797.         <id>19</id>
  8798.         <text>XFCN,ATalkZones,5263
  8799. XFCN,CapsLock,8652
  8800. XFCN,ChooseColor,1578
  8801. XFCN,DeviceList,521
  8802. XFCN,CurrPrinter,1842
  8803. XFCN,Switch,801
  8804. XFCN,ClipInfo,6523
  8805. XFCN,NewFileName,1008
  8806. XFCN,FolderName,1290
  8807. XFCN,FilePath,1120
  8808. XFCN,DateConverter,6871
  8809. XFCN,DocCreator,2658
  8810. XFCN,DocTypes,8653
  8811. XFCN,ExtractItems,8569
  8812. XFCN,FileIsOpen,1856
  8813. XFCN,FindFolder,3956
  8814. XFCN,FolderPath,12551
  8815. XFCN,FolderSize,5547
  8816. XFCN,FontInfos,4985
  8817. XFCN,FullDrag,5623
  8818. XFCN,FullFind,1875
  8819. XFCN,FullHPop,1298
  8820. XFCN,LeafName,1222
  8821. XFCN,FullResList,3385
  8822. XFCN,FullSFPack,4498
  8823. XFCN,FullSFPut,6325
  8824. XFCN,FullSort,1652
  8825. XFCN,GetBootVol,500
  8826. XFCN,GetDir,12552
  8827. XFCN,GetFInfo,5624
  8828. XFCN,MacType,816
  8829. XFCN,GetMode,857
  8830. XFCN,GetPassWord,2458
  8831. XFCN,GetSysFolder,501
  8832. XFCN,GlobalList,2756
  8833. XFCN,IsFile,2136
  8834. XFCN,IsFinderLocked,5625
  8835. XFCN,IsFolder,12553
  8836. XFCN,IsObject,6851
  8837. XFCN,LineCount,2563
  8838. XFCN,ListLogic,9561
  8839. XFCN,ListSelect,800
  8840. XFCN,NubusList,5555
  8841. XFCN,PPCList,9856
  8842. XFCN,Privileges,1985
  8843. XFCN,ResText,1685
  8844. XFCN,StrWidth,12554
  8845. XFCN,FullOffset,6698
  8846. XFCN,FullReplace,7841
  8847. XFCN,GetVInfo,2236
  8848. XFCN,ResolveAlias,8855
  8849. XFCN,StripDup,8332
  8850. XFCN,Align,856
  8851. XFCN,SelectDir,8854
  8852. XFCN,NameNewFile,8954
  8853. XFCN,FormatNum,4444
  8854. XFCN,HowMany,5621
  8855. XFCN,ReplaceCharSet,5526
  8856. XFCN,SelectFile,8562
  8857. XFCN,Switch,10000
  8858. XFCN,XRef,1999</text>
  8859.     </content>
  8860.     <name></name>
  8861.     <script></script>
  8862. </card>
  8863.  
  8864.  
  8865. card_20455.xml
  8866. <?xml version="1.0" encoding="utf-8" ?>
  8867. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  8868. <card>
  8869.     <id>20455</id>
  8870.     <filler1>0</filler1>
  8871.     <bitmap>BMAP_44873.pbm</bitmap>
  8872.     <cantDelete> <false /> </cantDelete>
  8873.     <showPict> <true /> </showPict>
  8874.     <dontSearch> <false /> </dontSearch>
  8875.     <owner>46925</owner>
  8876.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  8877.     <part>
  8878.         <id>1</id>
  8879.         <type>field</type>
  8880.         <visible> <true /> </visible>
  8881.         <dontWrap> <false /> </dontWrap>
  8882.         <dontSearch> <false /> </dontSearch>
  8883.         <sharedText> <false /> </sharedText>
  8884.         <fixedLineHeight> <true /> </fixedLineHeight>
  8885.         <autoTab> <false /> </autoTab>
  8886.         <lockText> <true /> </lockText>
  8887.         <rect>
  8888.             <left>69</left>
  8889.             <top>68</top>
  8890.             <right>434</right>
  8891.             <bottom>252</bottom>
  8892.         </rect>
  8893.         <style>scrolling</style>
  8894.         <autoSelect> <false /> </autoSelect>
  8895.         <showLines> <false /> </showLines>
  8896.         <wideMargins> <false /> </wideMargins>
  8897.         <multipleLines> <false /> </multipleLines>
  8898.         <reservedFamily> 0 </reservedFamily>
  8899.         <titleWidth>0</titleWidth>
  8900.         <icon>0</icon>
  8901.         <textAlign>left</textAlign>
  8902.         <font>Geneva</font>
  8903.         <textSize>9</textSize>
  8904.         <textStyle>plain</textStyle>
  8905.         <textHeight>12</textHeight>
  8906.         <name>Text</name>
  8907.         <script></script>
  8908.     </part>
  8909.     <part>
  8910.         <id>4</id>
  8911.         <type>button</type>
  8912.         <visible> <true /> </visible>
  8913.         <reserved5> 0 </reserved5>
  8914.         <reserved4> 0 </reserved4>
  8915.         <reserved3> 0 </reserved3>
  8916.         <reserved2> 0 </reserved2>
  8917.         <reserved1> 0 </reserved1>
  8918.         <enabled> <true /> </enabled>
  8919.         <rect>
  8920.             <left>37</left>
  8921.             <top>287</top>
  8922.             <right>110</right>
  8923.             <bottom>306</bottom>
  8924.         </rect>
  8925.         <style>shadow</style>
  8926.         <showName> <true /> </showName>
  8927.         <highlight> <false /> </highlight>
  8928.         <autoHighlight> <true /> </autoHighlight>
  8929.         <sharedHighlight> <true /> </sharedHighlight>
  8930.         <family>0</family>
  8931.         <titleWidth>0</titleWidth>
  8932.         <icon>0</icon>
  8933.         <textAlign>center</textAlign>
  8934.         <font>Geneva</font>
  8935.         <textSize>12</textSize>
  8936.         <textStyle>plain</textStyle>
  8937.         <name>Get</name>
  8938.         <script></script>
  8939.     </part>
  8940.     <part>
  8941.         <id>5</id>
  8942.         <type>button</type>
  8943.         <visible> <true /> </visible>
  8944.         <reserved5> 0 </reserved5>
  8945.         <reserved4> 0 </reserved4>
  8946.         <reserved3> 0 </reserved3>
  8947.         <reserved2> 0 </reserved2>
  8948.         <reserved1> 0 </reserved1>
  8949.         <enabled> <true /> </enabled>
  8950.         <rect>
  8951.             <left>112</left>
  8952.             <top>287</top>
  8953.             <right>185</right>
  8954.             <bottom>306</bottom>
  8955.         </rect>
  8956.         <style>shadow</style>
  8957.         <showName> <true /> </showName>
  8958.         <highlight> <false /> </highlight>
  8959.         <autoHighlight> <true /> </autoHighlight>
  8960.         <sharedHighlight> <true /> </sharedHighlight>
  8961.         <family>0</family>
  8962.         <titleWidth>0</titleWidth>
  8963.         <icon>0</icon>
  8964.         <textAlign>center</textAlign>
  8965.         <font>Geneva</font>
  8966.         <textSize>12</textSize>
  8967.         <textStyle>plain</textStyle>
  8968.         <name>Put</name>
  8969.         <script></script>
  8970.     </part>
  8971.     <part>
  8972.         <id>6</id>
  8973.         <type>button</type>
  8974.         <visible> <true /> </visible>
  8975.         <reserved5> 0 </reserved5>
  8976.         <reserved4> 0 </reserved4>
  8977.         <reserved3> 0 </reserved3>
  8978.         <reserved2> 0 </reserved2>
  8979.         <reserved1> 0 </reserved1>
  8980.         <enabled> <true /> </enabled>
  8981.         <rect>
  8982.             <left>187</left>
  8983.             <top>287</top>
  8984.             <right>260</right>
  8985.             <bottom>306</bottom>
  8986.         </rect>
  8987.         <style>shadow</style>
  8988.         <showName> <true /> </showName>
  8989.         <highlight> <false /> </highlight>
  8990.         <autoHighlight> <true /> </autoHighlight>
  8991.         <sharedHighlight> <true /> </sharedHighlight>
  8992.         <family>0</family>
  8993.         <titleWidth>0</titleWidth>
  8994.         <icon>0</icon>
  8995.         <textAlign>center</textAlign>
  8996.         <font>Geneva</font>
  8997.         <textSize>12</textSize>
  8998.         <textStyle>plain</textStyle>
  8999.         <name>Folder</name>
  9000.         <script></script>
  9001.     </part>
  9002.     <part>
  9003.         <id>7</id>
  9004.         <type>button</type>
  9005.         <visible> <true /> </visible>
  9006.         <reserved5> 0 </reserved5>
  9007.         <reserved4> 0 </reserved4>
  9008.         <reserved3> 0 </reserved3>
  9009.         <reserved2> 0 </reserved2>
  9010.         <reserved1> 0 </reserved1>
  9011.         <enabled> <true /> </enabled>
  9012.         <rect>
  9013.             <left>262</left>
  9014.             <top>287</top>
  9015.             <right>335</right>
  9016.             <bottom>306</bottom>
  9017.         </rect>
  9018.         <style>shadow</style>
  9019.         <showName> <true /> </showName>
  9020.         <highlight> <false /> </highlight>
  9021.         <autoHighlight> <true /> </autoHighlight>
  9022.         <sharedHighlight> <true /> </sharedHighlight>
  9023.         <family>0</family>
  9024.         <titleWidth>0</titleWidth>
  9025.         <icon>0</icon>
  9026.         <textAlign>center</textAlign>
  9027.         <font>Geneva</font>
  9028.         <textSize>12</textSize>
  9029.         <textStyle>plain</textStyle>
  9030.         <name>Volume</name>
  9031.         <script></script>
  9032.     </part>
  9033.     <part>
  9034.         <id>8</id>
  9035.         <type>button</type>
  9036.         <visible> <true /> </visible>
  9037.         <reserved5> 0 </reserved5>
  9038.         <reserved4> 0 </reserved4>
  9039.         <reserved3> 0 </reserved3>
  9040.         <reserved2> 0 </reserved2>
  9041.         <reserved1> 0 </reserved1>
  9042.         <enabled> <true /> </enabled>
  9043.         <rect>
  9044.             <left>337</left>
  9045.             <top>287</top>
  9046.             <right>410</right>
  9047.             <bottom>306</bottom>
  9048.         </rect>
  9049.         <style>shadow</style>
  9050.         <showName> <true /> </showName>
  9051.         <highlight> <false /> </highlight>
  9052.         <autoHighlight> <true /> </autoHighlight>
  9053.         <sharedHighlight> <true /> </sharedHighlight>
  9054.         <family>0</family>
  9055.         <titleWidth>0</titleWidth>
  9056.         <icon>0</icon>
  9057.         <textAlign>center</textAlign>
  9058.         <font>Geneva</font>
  9059.         <textSize>12</textSize>
  9060.         <textStyle>plain</textStyle>
  9061.         <name>Multiple</name>
  9062.         <script></script>
  9063.     </part>
  9064.     <part>
  9065.         <id>9</id>
  9066.         <type>field</type>
  9067.         <visible> <false /> </visible>
  9068.         <dontWrap> <false /> </dontWrap>
  9069.         <dontSearch> <false /> </dontSearch>
  9070.         <sharedText> <false /> </sharedText>
  9071.         <fixedLineHeight> <true /> </fixedLineHeight>
  9072.         <autoTab> <false /> </autoTab>
  9073.         <lockText> <true /> </lockText>
  9074.         <rect>
  9075.             <left>79</left>
  9076.             <top>111</top>
  9077.             <right>432</right>
  9078.             <bottom>213</bottom>
  9079.         </rect>
  9080.         <style>shadow</style>
  9081.         <autoSelect> <false /> </autoSelect>
  9082.         <showLines> <false /> </showLines>
  9083.         <wideMargins> <true /> </wideMargins>
  9084.         <multipleLines> <false /> </multipleLines>
  9085.         <reservedFamily> 0 </reservedFamily>
  9086.         <titleWidth>0</titleWidth>
  9087.         <icon>0</icon>
  9088.         <textAlign>left</textAlign>
  9089.         <font>Geneva</font>
  9090.         <textSize>9</textSize>
  9091.         <textStyle>plain</textStyle>
  9092.         <textHeight>12</textHeight>
  9093.         <name></name>
  9094.         <script>on mouseUp
  9095. hide me
  9096. end mouseUp</script>
  9097.     </part>
  9098.     <part>
  9099.         <id>10</id>
  9100.         <type>button</type>
  9101.         <visible> <true /> </visible>
  9102.         <reserved5> 0 </reserved5>
  9103.         <reserved4> 0 </reserved4>
  9104.         <reserved3> 0 </reserved3>
  9105.         <reserved2> 0 </reserved2>
  9106.         <reserved1> 0 </reserved1>
  9107.         <enabled> <true /> </enabled>
  9108.         <rect>
  9109.             <left>412</left>
  9110.             <top>287</top>
  9111.             <right>485</right>
  9112.             <bottom>306</bottom>
  9113.         </rect>
  9114.         <style>shadow</style>
  9115.         <showName> <true /> </showName>
  9116.         <highlight> <false /> </highlight>
  9117.         <autoHighlight> <true /> </autoHighlight>
  9118.         <sharedHighlight> <true /> </sharedHighlight>
  9119.         <family>0</family>
  9120.         <titleWidth>0</titleWidth>
  9121.         <icon>0</icon>
  9122.         <textAlign>center</textAlign>
  9123.         <font>Geneva</font>
  9124.         <textSize>12</textSize>
  9125.         <textStyle>plain</textStyle>
  9126.         <name>QuickTime</name>
  9127.         <script></script>
  9128.     </part>
  9129.     <content>
  9130.         <layer>card</layer>
  9131.         <id>1</id>
  9132.         <text>
  9133.                                            FullSFPack 1.4
  9134.                                           formerly FullFile
  9135.  
  9136.                                         by Fr├⌐d├⌐ric RINALDI
  9137.  
  9138.  
  9139. DESCRIPTION
  9140. ------------
  9141.   FullSFPack allows to use standard dialogs for seleting a file, folder or volume. It allows even to deal with Alias files themselves rather than with pointed entries, and adds a multiple files selection dialog.
  9142.  
  9143.  
  9144. SYNTAX
  9145. -------
  9146.    FullSFPack(<G[et]|P[ut]|V[olume]|F[older]|M[ultiple]|Q[uickTime]>
  9147.                    [,<type 1[ΓǪ,type 4]>][,<default dir>][,<new name>]
  9148.                    [,<prompt>][,"DontResolveAlias"])
  9149.  
  9150.  
  9151. PARAMETRES
  9152. ------------
  9153.    <G[et]|P[ut]|V[olume]|F[older]|M[ultiple]|Q[uickTime]> is the action param and defines the desired dialog.
  9154.  
  9155.    <type 1[ΓǪ,type 4]> is a 1 to 4 items list containing types of files to display in the dialog. Default presents all files.
  9156.  
  9157.    <default dir> is a full pathname string allowing to set the current directory when the dialog pops on screen.
  9158.  
  9159.    <new name> is a string only needed with "P[ut]", and gives the default name for the new file in the dialog's edit field.
  9160.  
  9161.    <prompt> is the message string appearing in the dialog.
  9162.  
  9163.    "dontResolveAlias" allows to get the alias file pathName rather than those from the pointed file. Applies only to G[et] and M[ultiple].
  9164.  
  9165.    Using "!", "?" or "=" as first parameter will return an online help (resp. 
  9166.  
  9167.  
  9168. USING
  9169. ------
  9170.    FullSFPack requires System 7.0.
  9171.  
  9172.    The XFCN returns the full patname of the selected file, folder or volume.
  9173.  
  9174.    With "M[ultiple]", it returns a return delimited list of all collected files.
  9175.  
  9176.    Q[uickTime] option require QuickTime to be installed, and allows viewing and on-the-fly creation of PICT and MooV file previews.
  9177.  
  9178.    FullSFPack doesn't need any associated DLOG/DITL resources, and is able to create them on the fly when needed.
  9179.    MeanWhile, when called from a stack on a locked volume, the XFCN isn't able to add those new resources to the current stack. That's why resources have been provided in this stack, and the XFCN detects their availability.
  9180.    Finally, on locked volume, if you forgot to copy these needed DLOG/DITL resources, FullSFPack still tries to work by using standard resources from the System (except for M[ultiple] and F[older] which always need custom dialog). Only difference : there will be no prompt displayed.
  9181.  
  9182.    Depending on requested action, you will need to add the following resources (don't rename them !) :
  9183.  
  9184. Action                DLOG                     DITL                   LDEF
  9185. ----------+---------------+----------------+-------------
  9186. G[et]               FSFPGetVol         FSFPGetVolDir        <aucune>
  9187. P[ut]              <aucune>             <aucune>                 <aucune>
  9188. V[olume]         FSFPGetVol         FSFPGetVolDir        <aucune>
  9189. F[older]          FSFPDir              FSFPGetVolDir         <aucune>
  9190. M[ultiple]       FSFPMultiGet      FSFPMultiGet           FSFPMultiGet
  9191. Q[uickTime]    FSFPPreview      FSFPPreview          <aucune>
  9192.  
  9193.  
  9194. ERRORS
  9195. -------
  9196.    If an error occurs, FullSFPack will return :
  9197.      "Error : FullSFPack needs System 7.0"
  9198.      "Error : Missing or empty parameter"
  9199.      "Error : Bad action parameter"
  9200.      "Error : Missing DLOG/DITL resources, unable to create them"
  9201.      "Error : QuickTime not installed"
  9202.      "Error : Out of memory"
  9203.  
  9204.  
  9205. HISTORY
  9206. -------
  9207. 1.4 :                                                                                          05/15/92
  9208. ΓÇó Added QuickTime preview dialog option
  9209. ΓÇó Enhanced inside file filtering
  9210. ΓÇó Fixed MultiFileGet bug when files have the same name
  9211. ΓÇó Fixed number of collected files display in MultiFileGet
  9212. ΓÇó Now PutFile also has SuperBoomerang if available
  9213. ΓÇó Fixed server volume aliases bug
  9214. ΓÇó Added support for existing resources to get locked volume compatibility
  9215.  
  9216. 1.3 :                                                                                          12/25/91
  9217. ΓÇó Fixed alias file bug under System 7.0.1
  9218.  
  9219. 1.2                                                                                            09/02/91
  9220. ΓÇó Fixed Select directory that didn't return answer
  9221.  
  9222. 1.1                                                                                            08/25/91
  9223. ΓÇó Fixed bug preventing alias files to appear in italic with "M"
  9224. ΓÇó Added Notification Mgr call
  9225. ΓÇó Fixed Cancel bug with "F"
  9226.  
  9227. 1.0                                                                                           08/12/91
  9228. </text>
  9229.     </content>
  9230.     <name></name>
  9231.     <script>on mouseUp
  9232. if the target contains "card button"
  9233. then
  9234. put FullSFPack(short name of the target) into cd fld 2
  9235. if cd fld 2 Γëá empty
  9236. then show cd fld 2
  9237. end if
  9238. end mouseUp</script>
  9239. </card>
  9240.  
  9241.  
  9242. card_20770.xml
  9243. <?xml version="1.0" encoding="utf-8" ?>
  9244. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9245. <card>
  9246.     <id>20770</id>
  9247.     <filler1>0</filler1>
  9248.     <bitmap>BMAP_21230.pbm</bitmap>
  9249.     <cantDelete> <false /> </cantDelete>
  9250.     <showPict> <true /> </showPict>
  9251.     <dontSearch> <false /> </dontSearch>
  9252.     <owner>46925</owner>
  9253.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  9254.     <part>
  9255.         <id>1</id>
  9256.         <type>field</type>
  9257.         <visible> <true /> </visible>
  9258.         <dontWrap> <false /> </dontWrap>
  9259.         <dontSearch> <false /> </dontSearch>
  9260.         <sharedText> <false /> </sharedText>
  9261.         <fixedLineHeight> <true /> </fixedLineHeight>
  9262.         <autoTab> <false /> </autoTab>
  9263.         <lockText> <true /> </lockText>
  9264.         <rect>
  9265.             <left>69</left>
  9266.             <top>68</top>
  9267.             <right>434</right>
  9268.             <bottom>252</bottom>
  9269.         </rect>
  9270.         <style>scrolling</style>
  9271.         <autoSelect> <false /> </autoSelect>
  9272.         <showLines> <false /> </showLines>
  9273.         <wideMargins> <false /> </wideMargins>
  9274.         <multipleLines> <false /> </multipleLines>
  9275.         <reservedFamily> 0 </reservedFamily>
  9276.         <titleWidth>0</titleWidth>
  9277.         <icon>0</icon>
  9278.         <textAlign>left</textAlign>
  9279.         <font>Geneva</font>
  9280.         <textSize>9</textSize>
  9281.         <textStyle>plain</textStyle>
  9282.         <textHeight>12</textHeight>
  9283.         <name></name>
  9284.         <script></script>
  9285.     </part>
  9286.     <part>
  9287.         <id>5</id>
  9288.         <type>button</type>
  9289.         <visible> <true /> </visible>
  9290.         <reserved5> 0 </reserved5>
  9291.         <reserved4> 0 </reserved4>
  9292.         <reserved3> 0 </reserved3>
  9293.         <reserved2> 0 </reserved2>
  9294.         <reserved1> 0 </reserved1>
  9295.         <enabled> <true /> </enabled>
  9296.         <rect>
  9297.             <left>174</left>
  9298.             <top>281</top>
  9299.             <right>343</right>
  9300.             <bottom>311</bottom>
  9301.         </rect>
  9302.         <style>roundrect</style>
  9303.         <showName> <true /> </showName>
  9304.         <highlight> <false /> </highlight>
  9305.         <autoHighlight> <true /> </autoHighlight>
  9306.         <sharedHighlight> <true /> </sharedHighlight>
  9307.         <family>0</family>
  9308.         <titleWidth>0</titleWidth>
  9309.         <icon>0</icon>
  9310.         <textAlign>center</textAlign>
  9311.         <font>Geneva</font>
  9312.         <textSize>12</textSize>
  9313.         <textStyle>plain</textStyle>
  9314.         <name>FullSFPut</name>
  9315.         <script>on mouseUp
  9316. Get FullSFPut("Name the file :","My File",empty,10)
  9317. if it Γëá empty
  9318. then
  9319. show cd fld 2
  9320. put return & it into cd fld 2
  9321. end if
  9322. end mouseUp
  9323. </script>
  9324.     </part>
  9325.     <part>
  9326.         <id>16</id>
  9327.         <type>field</type>
  9328.         <visible> <false /> </visible>
  9329.         <dontWrap> <false /> </dontWrap>
  9330.         <dontSearch> <false /> </dontSearch>
  9331.         <sharedText> <false /> </sharedText>
  9332.         <fixedLineHeight> <true /> </fixedLineHeight>
  9333.         <autoTab> <false /> </autoTab>
  9334.         <lockText> <true /> </lockText>
  9335.         <rect>
  9336.             <left>79</left>
  9337.             <top>123</top>
  9338.             <right>414</right>
  9339.             <bottom>197</bottom>
  9340.         </rect>
  9341.         <style>shadow</style>
  9342.         <autoSelect> <false /> </autoSelect>
  9343.         <showLines> <false /> </showLines>
  9344.         <wideMargins> <true /> </wideMargins>
  9345.         <multipleLines> <false /> </multipleLines>
  9346.         <reservedFamily> 0 </reservedFamily>
  9347.         <titleWidth>0</titleWidth>
  9348.         <icon>0</icon>
  9349.         <textAlign>left</textAlign>
  9350.         <font>Geneva</font>
  9351.         <textSize>10</textSize>
  9352.         <textStyle>plain</textStyle>
  9353.         <textHeight>13</textHeight>
  9354.         <name></name>
  9355.         <script>on mouseUp
  9356. hide me
  9357. end mouseUP</script>
  9358.     </part>
  9359.     <content>
  9360.         <layer>card</layer>
  9361.         <id>1</id>
  9362.         <text>
  9363.  
  9364.                                                FullSFPut 1.3
  9365.  
  9366.                                           by Fr├⌐d├⌐ric RINALDI
  9367.  
  9368.  
  9369. DESCRIPTION
  9370. ------------
  9371.   FullSFPut XFCN brings the SFPutFile dialog on the screen, allowing to type a name and to choose destination folder for a new file.
  9372.  
  9373.  
  9374. SYNTAX
  9375. --------
  9376.         FullSFPut([<prompt>[,<default>[,<initial folder>[,<max len>]]]])
  9377.  
  9378. PARAMETERS
  9379. ------------
  9380.    All parameters are optional.
  9381.  
  9382.    Prompt is a string that will appear as prompt in the disalog.
  9383.  
  9384.    Default is the default name to show in the edit field of the dialog.
  9385.  
  9386.    Initial folder is a pathname of the folder hierarchy that will be displayed when the dialog pops. Default value is the current stack's folder.
  9387.  
  9388.    MaxLen is an integer (>0 and <256) that will limit the length of the input string. A beep will sound as soon as the user tries to override this limit. Default value is 255.
  9389.  
  9390.    As usual, using "!" and "?" returns online help (resp. about and syntax).
  9391.  
  9392. USING
  9393. -----
  9394.    The XFCN returns a two lines string, being respectively the name and the path choosen by the user.
  9395.  
  9396.    If an error occurs, the XFCN can return :
  9397.  
  9398.         "Error : Volume not found"
  9399.         "Error : Directory not found"
  9400.         "Error : I/O Error"
  9401.         "Error : Unknown #xx"
  9402.         "Error : Not a directory"
  9403.         "Error : Out of memory"
  9404.         "Error : Couldn't get volume info"
  9405.         "Error : Couldn't get working directory info"
  9406.         "Error : Couldn't get directory info"
  9407.         "Error : Length param must be < 256"
  9408.         "Error : Bad length param"
  9409.  
  9410. HISTORY
  9411. -------
  9412. 1.3
  9413. ΓÇó Use notification manager for HC 2.0
  9414.  
  9415. 1.2
  9416. ΓÇó Added screen refresh when dialog disappears
  9417. </text>
  9418.     </content>
  9419.     <content>
  9420.         <layer>card</layer>
  9421.         <id>16</id>
  9422.         <text>
  9423. My File
  9424. Promac 300:Applications:HyperCard:My Externals:</text>
  9425.     </content>
  9426.     <name>FullSFPut 1.3</name>
  9427.     <script>
  9428.  
  9429.  
  9430.  
  9431. on opencard
  9432. end opencard
  9433.  
  9434. on closeCard
  9435. hide cd fld 2
  9436. end closeCard
  9437.  
  9438. </script>
  9439. </card>
  9440.  
  9441.  
  9442. card_21449.xml
  9443. <?xml version="1.0" encoding="utf-8" ?>
  9444. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9445. <card>
  9446.     <id>21449</id>
  9447.     <filler1>0</filler1>
  9448.     <bitmap>BMAP_45561.pbm</bitmap>
  9449.     <cantDelete> <false /> </cantDelete>
  9450.     <showPict> <true /> </showPict>
  9451.     <dontSearch> <false /> </dontSearch>
  9452.     <owner>46925</owner>
  9453.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  9454.     <part>
  9455.         <id>1</id>
  9456.         <type>field</type>
  9457.         <visible> <true /> </visible>
  9458.         <dontWrap> <false /> </dontWrap>
  9459.         <dontSearch> <false /> </dontSearch>
  9460.         <sharedText> <false /> </sharedText>
  9461.         <fixedLineHeight> <true /> </fixedLineHeight>
  9462.         <autoTab> <false /> </autoTab>
  9463.         <lockText> <true /> </lockText>
  9464.         <rect>
  9465.             <left>69</left>
  9466.             <top>68</top>
  9467.             <right>434</right>
  9468.             <bottom>252</bottom>
  9469.         </rect>
  9470.         <style>scrolling</style>
  9471.         <autoSelect> <false /> </autoSelect>
  9472.         <showLines> <false /> </showLines>
  9473.         <wideMargins> <false /> </wideMargins>
  9474.         <multipleLines> <false /> </multipleLines>
  9475.         <reservedFamily> 0 </reservedFamily>
  9476.         <titleWidth>0</titleWidth>
  9477.         <icon>0</icon>
  9478.         <textAlign>left</textAlign>
  9479.         <font>Geneva</font>
  9480.         <textSize>9</textSize>
  9481.         <textStyle>plain</textStyle>
  9482.         <textHeight>12</textHeight>
  9483.         <name></name>
  9484.         <script></script>
  9485.     </part>
  9486.     <part>
  9487.         <id>25</id>
  9488.         <type>button</type>
  9489.         <visible> <true /> </visible>
  9490.         <reserved5> 0 </reserved5>
  9491.         <reserved4> 0 </reserved4>
  9492.         <reserved3> 0 </reserved3>
  9493.         <reserved2> 0 </reserved2>
  9494.         <reserved1> 0 </reserved1>
  9495.         <enabled> <true /> </enabled>
  9496.         <rect>
  9497.             <left>201</left>
  9498.             <top>278</top>
  9499.             <right>346</right>
  9500.             <bottom>316</bottom>
  9501.         </rect>
  9502.         <style>roundrect</style>
  9503.         <showName> <true /> </showName>
  9504.         <highlight> <false /> </highlight>
  9505.         <autoHighlight> <true /> </autoHighlight>
  9506.         <sharedHighlight> <true /> </sharedHighlight>
  9507.         <family>0</family>
  9508.         <titleWidth>0</titleWidth>
  9509.         <icon>0</icon>
  9510.         <textAlign>center</textAlign>
  9511.         <font>Geneva</font>
  9512.         <textSize>12</textSize>
  9513.         <textStyle>plain</textStyle>
  9514.         <name>FullSort Test</name>
  9515.         <script>on mouseUp
  9516. go next
  9517. end mouseUp
  9518. </script>
  9519.     </part>
  9520.     <content>
  9521.         <layer>card</layer>
  9522.         <id>1</id>
  9523.         <text>
  9524.                                               FullSort 3.2
  9525.  
  9526.                                         by Fr├⌐d├⌐ric RINALDI
  9527.  
  9528.  
  9529. DESCRIPTION
  9530. ------------
  9531.   FullSort is a XFCN allowing any kind of sort, even co-sorting of lists.
  9532.  
  9533.  
  9534. SYNTAX
  9535. -------
  9536.   FullSort ( <text> [,"l=<sep>"] [,"i=<sep>"] [,"t=a|n|d|i|u"] [,"d=a|d|r|l"] 
  9537.                  [,"c=char x|word x|item x[ to y]"]  [,<sort list>] )
  9538.  
  9539. PARAMETERS
  9540. ------------
  9541.  
  9542.    Except for the first parameter, each parameter is optional, can come in any order and is, of course, not case-dependant.
  9543.  
  9544.    Text is the list to sort,  can be any container of line or comma-delimited list. The XFCN automatically recognizes the input separator, thus freeing of another unneeded parameter.
  9545.  
  9546.    "l=" defines a non-standard line separator, ie different than comma, return or space that are automaticly recognized. Old param "s=" is still valid.
  9547.    <sep> can be any character or one of the constants : space, return, tab, quote. 
  9548.  
  9549.    "i=" defines a non-standard item separator, ie different than comma. If not supplied, FullSort uses the ItemDelimiter property of HC 2.0 to get it.
  9550.    <sep> can be any character or one of the constants : space, return, tab, quote. 
  9551.  
  9552.    "t=" determines the sort type, and can be followed by any word beginning with a, n, d or i. With these chars, items or lines will be sorted by :
  9553.            A[scii]         : ASCII code (this is the default type)
  9554.            N[umber]  ┬á :  real value of any embedded number
  9555.            D[ate]          :  value of any embedded date MM/JJ/YY
  9556.            T[ime]          : value of any embedded time HH:MM
  9557.            I[ntl]         ┬á:  international code, thus recognizing diacritical marks
  9558.            U[ppercase] :  not case-sensitive sort
  9559.    With N or D, the sort key can be preceeded or followed by any text, the XFCN is able to localize it anywhere in the string. If no sort key is present, the string will be placed at the end of the sorted list.
  9560.  
  9561.    "d=" determines the sort direction, and can be followed by any word beginning with a, d, r or l. With these, items or lines will be sorted in :
  9562.                               A[scending] order (this is the default direction)
  9563.                               D[escending] order
  9564.                               R[andom]  order
  9565.                               L[ist] order
  9566.    L is the option allowing to co-sort any number of containers using the sort order of the first sort (see list parameter).
  9567.  
  9568.    "c=" determines the sort key chunk, and can be followed by 
  9569.             "char x", "word x", "item x" 
  9570.       or  "char x to y", "word x to y", "item x to y"
  9571.       or  "char x to *", "word x to *", "item x to *"
  9572.  x being the starting chunk number in the item, y the ending chunk number. Using "*" for y will use the whole ending part of the item, starting at chunk x, as sort key.
  9573.    Using this powerful parameter, sorting is allowed on virtually any part of the string.
  9574.  
  9575.   Last parameter is useful only when "d=l", allowing to define its own sort order, and must be a comma-separated list of positive integers. In this case, the sort is done accomoding the defined list, and doesn't use any comparison value anymore. By default, the XFCN tries to use the global variable FullSortList returned by any preceeding sort. In this way, any succeeding sort respects the same sort order.
  9576.  
  9577.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  9578.  
  9579.  
  9580. USING
  9581. -----
  9582.  
  9583.    The XFCN returns the sorted list of lines or items, and sets a global variable FullSortList with a comma-separated list of the resulting sorting order. Using "d=l" parameter in following calls with no list will use this global variable, and allow to co-sort any other container.
  9584.  
  9585.    If an error occurs, the XFCN can return :
  9586.  
  9587.      "Error : "c=" param must be followed by [char,word,item]"
  9588.      "Error : "c=item" cannot be used with item sorting"
  9589.      "Error : "c=xxxx " must be followed by a positive integer"
  9590.      "Error : "c=xxxx" must be followed by a space"
  9591.      "Error : Bad item x in Sort list"
  9592.      "Error : Char following "d=" must be [a,d,r,l]"
  9593.      "Error : Char following "t=" must be [a,n,d,i,u]"
  9594.      "Error : Couln't get INTL resource"
  9595.      "Error : First char of param 2..n must be [t,d,c,s]"
  9596.      "Error : Missing Sort list parameter"
  9597.      "Error : Missing input parameter"
  9598.      "Error : Out of memory"
  9599.      "Error : Second char of param 2..n must be "=""
  9600.      "Error : Sort chunk param defined twice"
  9601.      "Error : Sort direction param defined twice"
  9602.      "Error : Sort type param defined twice"
  9603.      "Error : "x" defined twice in Sort list"
  9604.      "Error : Stop chunk must be greater that start chunk"
  9605.  
  9606.  
  9607. VERSIONS HISTORY
  9608. -----------------
  9609. 3.2 :                                                                                          06/29/92
  9610. ΓÇó Date & time sorting 35% faster !
  9611.  
  9612. 3.1 :                                                                                          05/17/92
  9613. ΓÇó Fixed again itemDelimiter handling
  9614.  
  9615. 3.0 :                                                                                          04/27/92
  9616. ΓÇó Fixed itemDelimiter/HC 2.0v2 bug
  9617.  
  9618. 2.9 :                                                                                          03/07/92
  9619. ΓÇó Enhanced separators handling
  9620.  
  9621. 2.8 :                                                                                          02/23/92
  9622. ΓÇó Added item delimiter param
  9623.  
  9624. 2.7 :                                                                                          03/17/91
  9625. ΓÇó Fixed time sorting bug arising with "12:xx am"
  9626.  
  9627. 2.6 :                                                                                          03/10/91
  9628. ΓÇó Fixed time sorting bug arising with "12:xx pm"
  9629.  
  9630. 2.5 :
  9631. ΓÇó FullSortList is no more cleared when co-sorting and  input list is empty
  9632.  
  9633. 2.4 :
  9634. ΓÇó Fixed bug arising with unusual separator ASCII > 128
  9635. ΓÇó Fixed out of memory bug with list sort of large lists
  9636.  
  9637. 2.3 :
  9638. ΓÇó Fixed bug arising with large sorting lists
  9639.  
  9640. 2.2 :
  9641. ΓÇó Fixed word parsing procedure
  9642.  
  9643. 2.1 :
  9644. ΓÇó Fixed random memory bug
  9645.  
  9646. 2.0 :
  9647. ΓÇó New, quicker sort algorythm :
  9648.      2 times faster with Ascii or International sort
  9649.      3 times faster with Numeric sort
  9650.      30 times faster Date sort !
  9651. ΓÇó The sort is now conservative, and keeps the previous order for chunks not used as sort key or unsorted items.
  9652. ΓÇó Added Uppercase sort ("t=u") to have a not case sensitive sort
  9653. ΓÇó Added Time sort ("t=t")
  9654. ΓÇó Added true chunk sorting. Now "c=chunk X" or "c=chunk X to Y" allowed
  9655. ΓÇó Unsorted items are now always at the end of the sorted list
  9656. ΓÇó Added a separator param ("s=ΓǪ") allowing to define non-standard item separator 
  9657. (ie other that comma or return).
  9658.  
  9659. 1.4 : 
  9660. ΓÇó XFCN is more compact
  9661. ΓÇó sort doesn't anymore consume memory
  9662. ΓÇó co-sorted containers may have any number of entries
  9663. ΓÇó empty entries are preserved
  9664.  
  9665. 1.3 : 
  9666. ΓÇó items or lines of text with less chunks than specified by "c=..." are now placed at the end of the sorted list, whereas it returned an error before.
  9667. ΓÇó sort with "d=l" is now correct, even if the number of items of the sort list is less than the number of lines or items of text.
  9668.  
  9669. 1.2 : 
  9670. ΓÇó fixed a bug arising with empty lines or items at the beginning or end of the text.
  9671.  
  9672. 1.1 :  
  9673. ΓÇó FullSortList global is now correct after a descending sort.
  9674. </text>
  9675.     </content>
  9676.     <name></name>
  9677.     <script></script>
  9678. </card>
  9679.  
  9680.  
  9681. card_21975.xml
  9682. <?xml version="1.0" encoding="utf-8" ?>
  9683. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  9684. <card>
  9685.     <id>21975</id>
  9686.     <filler1>0</filler1>
  9687.     <bitmap>BMAP_22069.pbm</bitmap>
  9688.     <cantDelete> <false /> </cantDelete>
  9689.     <showPict> <true /> </showPict>
  9690.     <dontSearch> <false /> </dontSearch>
  9691.     <owner>46925</owner>
  9692.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  9693.     <part>
  9694.         <id>1</id>
  9695.         <type>field</type>
  9696.         <visible> <true /> </visible>
  9697.         <dontWrap> <false /> </dontWrap>
  9698.         <dontSearch> <false /> </dontSearch>
  9699.         <sharedText> <false /> </sharedText>
  9700.         <fixedLineHeight> <true /> </fixedLineHeight>
  9701.         <autoTab> <false /> </autoTab>
  9702.         <lockText> <false /> </lockText>
  9703.         <rect>
  9704.             <left>44</left>
  9705.             <top>21</top>
  9706.             <right>225</right>
  9707.             <bottom>171</bottom>
  9708.         </rect>
  9709.         <style>shadow</style>
  9710.         <autoSelect> <false /> </autoSelect>
  9711.         <showLines> <false /> </showLines>
  9712.         <wideMargins> <false /> </wideMargins>
  9713.         <multipleLines> <false /> </multipleLines>
  9714.         <reservedFamily> 0 </reservedFamily>
  9715.         <titleWidth>0</titleWidth>
  9716.         <icon>0</icon>
  9717.         <textAlign>left</textAlign>
  9718.         <font>Geneva</font>
  9719.         <textSize>9</textSize>
  9720.         <textStyle>plain</textStyle>
  9721.         <textHeight>12</textHeight>
  9722.         <name></name>
  9723.         <script></script>
  9724.     </part>
  9725.     <part>
  9726.         <id>4</id>
  9727.         <type>button</type>
  9728.         <visible> <true /> </visible>
  9729.         <reserved5> 0 </reserved5>
  9730.         <reserved4> 0 </reserved4>
  9731.         <reserved3> 0 </reserved3>
  9732.         <reserved2> 0 </reserved2>
  9733.         <reserved1> 0 </reserved1>
  9734.         <enabled> <true /> </enabled>
  9735.         <rect>
  9736.             <left>75</left>
  9737.             <top>197</top>
  9738.             <right>174</right>
  9739.             <bottom>215</bottom>
  9740.         </rect>
  9741.         <style>radiobutton</style>
  9742.         <showName> <true /> </showName>
  9743.         <highlight> <false /> </highlight>
  9744.         <autoHighlight> <false /> </autoHighlight>
  9745.         <sharedHighlight> <true /> </sharedHighlight>
  9746.         <family>0</family>
  9747.         <titleWidth>0</titleWidth>
  9748.         <icon>0</icon>
  9749.         <textAlign>center</textAlign>
  9750.         <font>Geneva</font>
  9751.         <textSize>12</textSize>
  9752.         <textStyle>plain</textStyle>
  9753.         <name>Ascii</name>
  9754.         <script>on mouseUp
  9755. RadioUpdate 1,6
  9756. end mouseUp
  9757. </script>
  9758.     </part>
  9759.     <part>
  9760.         <id>5</id>
  9761.         <type>button</type>
  9762.         <visible> <true /> </visible>
  9763.         <reserved5> 0 </reserved5>
  9764.         <reserved4> 0 </reserved4>
  9765.         <reserved3> 0 </reserved3>
  9766.         <reserved2> 0 </reserved2>
  9767.         <reserved1> 0 </reserved1>
  9768.         <enabled> <true /> </enabled>
  9769.         <rect>
  9770.             <left>75</left>
  9771.             <top>214</top>
  9772.             <right>174</right>
  9773.             <bottom>232</bottom>
  9774.         </rect>
  9775.         <style>radiobutton</style>
  9776.         <showName> <true /> </showName>
  9777.         <highlight> <false /> </highlight>
  9778.         <autoHighlight> <false /> </autoHighlight>
  9779.         <sharedHighlight> <true /> </sharedHighlight>
  9780.         <family>0</family>
  9781.         <titleWidth>0</titleWidth>
  9782.         <icon>0</icon>
  9783.         <textAlign>center</textAlign>
  9784.         <font>Geneva</font>
  9785.         <textSize>12</textSize>
  9786.         <textStyle>plain</textStyle>
  9787.         <name>Date</name>
  9788.         <script>on mouseUp
  9789. RadioUpdate 1,6
  9790. end mouseUp
  9791. </script>
  9792.     </part>
  9793.     <part>
  9794.         <id>6</id>
  9795.         <type>button</type>
  9796.         <visible> <true /> </visible>
  9797.         <reserved5> 0 </reserved5>
  9798.         <reserved4> 0 </reserved4>
  9799.         <reserved3> 0 </reserved3>
  9800.         <reserved2> 0 </reserved2>
  9801.         <reserved1> 0 </reserved1>
  9802.         <enabled> <true /> </enabled>
  9803.         <rect>
  9804.             <left>75</left>
  9805.             <top>231</top>
  9806.             <right>174</right>
  9807.             <bottom>249</bottom>
  9808.         </rect>
  9809.         <style>radiobutton</style>
  9810.         <showName> <true /> </showName>
  9811.         <highlight> <true /> </highlight>
  9812.         <autoHighlight> <false /> </autoHighlight>
  9813.         <sharedHighlight> <true /> </sharedHighlight>
  9814.         <family>0</family>
  9815.         <titleWidth>0</titleWidth>
  9816.         <icon>0</icon>
  9817.         <textAlign>center</textAlign>
  9818.         <font>Geneva</font>
  9819.         <textSize>12</textSize>
  9820.         <textStyle>plain</textStyle>
  9821.         <name>Number</name>
  9822.         <script>on mouseUp
  9823. RadioUpdate 1,6
  9824. end mouseUp
  9825. </script>
  9826.     </part>
  9827.     <part>
  9828.         <id>7</id>
  9829.         <type>button</type>
  9830.         <visible> <true /> </visible>
  9831.         <reserved5> 0 </reserved5>
  9832.         <reserved4> 0 </reserved4>
  9833.         <reserved3> 0 </reserved3>
  9834.         <reserved2> 0 </reserved2>
  9835.         <reserved1> 0 </reserved1>
  9836.         <enabled> <true /> </enabled>
  9837.         <rect>
  9838.             <left>75</left>
  9839.             <top>248</top>
  9840.             <right>174</right>
  9841.             <bottom>266</bottom>
  9842.         </rect>
  9843.         <style>radiobutton</style>
  9844.         <showName> <true /> </showName>
  9845.         <highlight> <false /> </highlight>
  9846.         <autoHighlight> <false /> </autoHighlight>
  9847.         <sharedHighlight> <true /> </sharedHighlight>
  9848.         <family>0</family>
  9849.         <titleWidth>0</titleWidth>
  9850.         <icon>0</icon>
  9851.         <textAlign>center</textAlign>
  9852.         <font>Geneva</font>
  9853.         <textSize>12</textSize>
  9854.         <textStyle>plain</textStyle>
  9855.         <name>Intl</name>
  9856.         <script>on mouseUp
  9857. RadioUpdate 1,6
  9858. end mouseUp
  9859. </script>
  9860.     </part>
  9861.     <part>
  9862.         <id>27</id>
  9863.         <type>button</type>
  9864.         <visible> <true /> </visible>
  9865.         <reserved5> 0 </reserved5>
  9866.         <reserved4> 0 </reserved4>
  9867.         <reserved3> 0 </reserved3>
  9868.         <reserved2> 0 </reserved2>
  9869.         <reserved1> 0 </reserved1>
  9870.         <enabled> <true /> </enabled>
  9871.         <rect>
  9872.             <left>75</left>
  9873.             <top>265</top>
  9874.             <right>174</right>
  9875.             <bottom>283</bottom>
  9876.         </rect>
  9877.         <style>radiobutton</style>
  9878.         <showName> <true /> </showName>
  9879.         <highlight> <false /> </highlight>
  9880.         <autoHighlight> <false /> </autoHighlight>
  9881.         <sharedHighlight> <true /> </sharedHighlight>
  9882.         <family>0</family>
  9883.         <titleWidth>0</titleWidth>
  9884.         <icon>0</icon>
  9885.         <textAlign>center</textAlign>
  9886.         <font>Geneva</font>
  9887.         <textSize>12</textSize>
  9888.         <textStyle>plain</textStyle>
  9889.         <name>UpperCase</name>
  9890.         <script>on mouseUp
  9891. RadioUpdate 1,6
  9892. end mouseUp
  9893. </script>
  9894.     </part>
  9895.     <part>
  9896.         <id>34</id>
  9897.         <type>button</type>
  9898.         <visible> <true /> </visible>
  9899.         <reserved5> 0 </reserved5>
  9900.         <reserved4> 0 </reserved4>
  9901.         <reserved3> 0 </reserved3>
  9902.         <reserved2> 0 </reserved2>
  9903.         <reserved1> 0 </reserved1>
  9904.         <enabled> <true /> </enabled>
  9905.         <rect>
  9906.             <left>75</left>
  9907.             <top>282</top>
  9908.             <right>174</right>
  9909.             <bottom>300</bottom>
  9910.         </rect>
  9911.         <style>radiobutton</style>
  9912.         <showName> <true /> </showName>
  9913.         <highlight> <false /> </highlight>
  9914.         <autoHighlight> <false /> </autoHighlight>
  9915.         <sharedHighlight> <true /> </sharedHighlight>
  9916.         <family>0</family>
  9917.         <titleWidth>0</titleWidth>
  9918.         <icon>0</icon>
  9919.         <textAlign>center</textAlign>
  9920.         <font>Geneva</font>
  9921.         <textSize>12</textSize>
  9922.         <textStyle>plain</textStyle>
  9923.         <name>Time</name>
  9924.         <script>on mouseUp
  9925. RadioUpdate 1,6
  9926. end mouseUp
  9927. </script>
  9928.     </part>
  9929.     <part>
  9930.         <id>8</id>
  9931.         <type>button</type>
  9932.         <visible> <true /> </visible>
  9933.         <reserved5> 0 </reserved5>
  9934.         <reserved4> 0 </reserved4>
  9935.         <reserved3> 0 </reserved3>
  9936.         <reserved2> 0 </reserved2>
  9937.         <reserved1> 0 </reserved1>
  9938.         <enabled> <true /> </enabled>
  9939.         <rect>
  9940.             <left>216</left>
  9941.             <top>197</top>
  9942.             <right>315</right>
  9943.             <bottom>215</bottom>
  9944.         </rect>
  9945.         <style>radiobutton</style>
  9946.         <showName> <true /> </showName>
  9947.         <highlight> <false /> </highlight>
  9948.         <autoHighlight> <false /> </autoHighlight>
  9949.         <sharedHighlight> <true /> </sharedHighlight>
  9950.         <family>0</family>
  9951.         <titleWidth>0</titleWidth>
  9952.         <icon>0</icon>
  9953.         <textAlign>center</textAlign>
  9954.         <font>Geneva</font>
  9955.         <textSize>12</textSize>
  9956.         <textStyle>plain</textStyle>
  9957.         <name>Ascending</name>
  9958.         <script>on mouseUp
  9959. RadioUpdate 7,10
  9960. end mouseUp
  9961. </script>
  9962.     </part>
  9963.     <part>
  9964.         <id>9</id>
  9965.         <type>button</type>
  9966.         <visible> <true /> </visible>
  9967.         <reserved5> 0 </reserved5>
  9968.         <reserved4> 0 </reserved4>
  9969.         <reserved3> 0 </reserved3>
  9970.         <reserved2> 0 </reserved2>
  9971.         <reserved1> 0 </reserved1>
  9972.         <enabled> <true /> </enabled>
  9973.         <rect>
  9974.             <left>216</left>
  9975.             <top>214</top>
  9976.             <right>315</right>
  9977.             <bottom>232</bottom>
  9978.         </rect>
  9979.         <style>radiobutton</style>
  9980.         <showName> <true /> </showName>
  9981.         <highlight> <true /> </highlight>
  9982.         <autoHighlight> <false /> </autoHighlight>
  9983.         <sharedHighlight> <true /> </sharedHighlight>
  9984.         <family>0</family>
  9985.         <titleWidth>0</titleWidth>
  9986.         <icon>0</icon>
  9987.         <textAlign>center</textAlign>
  9988.         <font>Geneva</font>
  9989.         <textSize>12</textSize>
  9990.         <textStyle>plain</textStyle>
  9991.         <name>Descending</name>
  9992.         <script>on mouseUp
  9993. RadioUpdate 7,10
  9994. end mouseUp
  9995. </script>
  9996.     </part>
  9997.     <part>
  9998.         <id>10</id>
  9999.         <type>button</type>
  10000.         <visible> <true /> </visible>
  10001.         <reserved5> 0 </reserved5>
  10002.         <reserved4> 0 </reserved4>
  10003.         <reserved3> 0 </reserved3>
  10004.         <reserved2> 0 </reserved2>
  10005.         <reserved1> 0 </reserved1>
  10006.         <enabled> <true /> </enabled>
  10007.         <rect>
  10008.             <left>216</left>
  10009.             <top>231</top>
  10010.             <right>315</right>
  10011.             <bottom>249</bottom>
  10012.         </rect>
  10013.         <style>radiobutton</style>
  10014.         <showName> <true /> </showName>
  10015.         <highlight> <false /> </highlight>
  10016.         <autoHighlight> <false /> </autoHighlight>
  10017.         <sharedHighlight> <true /> </sharedHighlight>
  10018.         <family>0</family>
  10019.         <titleWidth>0</titleWidth>
  10020.         <icon>0</icon>
  10021.         <textAlign>center</textAlign>
  10022.         <font>Geneva</font>
  10023.         <textSize>12</textSize>
  10024.         <textStyle>plain</textStyle>
  10025.         <name>Random</name>
  10026.         <script>on mouseUp
  10027. RadioUpdate 7,10
  10028. end mouseUp
  10029. </script>
  10030.     </part>
  10031.     <part>
  10032.         <id>11</id>
  10033.         <type>button</type>
  10034.         <visible> <true /> </visible>
  10035.         <reserved5> 0 </reserved5>
  10036.         <reserved4> 0 </reserved4>
  10037.         <reserved3> 0 </reserved3>
  10038.         <reserved2> 0 </reserved2>
  10039.         <reserved1> 0 </reserved1>
  10040.         <enabled> <true /> </enabled>
  10041.         <rect>
  10042.             <left>216</left>
  10043.             <top>248</top>
  10044.             <right>315</right>
  10045.             <bottom>266</bottom>
  10046.         </rect>
  10047.         <style>radiobutton</style>
  10048.         <showName> <true /> </showName>
  10049.         <highlight> <false /> </highlight>
  10050.         <autoHighlight> <false /> </autoHighlight>
  10051.         <sharedHighlight> <true /> </sharedHighlight>
  10052.         <family>0</family>
  10053.         <titleWidth>0</titleWidth>
  10054.         <icon>0</icon>
  10055.         <textAlign>center</textAlign>
  10056.         <font>Geneva</font>
  10057.         <textSize>12</textSize>
  10058.         <textStyle>plain</textStyle>
  10059.         <name>List</name>
  10060.         <script>on mouseUp
  10061. RadioUpdate 7,10
  10062. end mouseUp
  10063. </script>
  10064.     </part>
  10065.     <part>
  10066.         <id>12</id>
  10067.         <type>button</type>
  10068.         <visible> <true /> </visible>
  10069.         <reserved5> 0 </reserved5>
  10070.         <reserved4> 0 </reserved4>
  10071.         <reserved3> 0 </reserved3>
  10072.         <reserved2> 0 </reserved2>
  10073.         <reserved1> 0 </reserved1>
  10074.         <enabled> <true /> </enabled>
  10075.         <rect>
  10076.             <left>359</left>
  10077.             <top>197</top>
  10078.             <right>458</right>
  10079.             <bottom>215</bottom>
  10080.         </rect>
  10081.         <style>radiobutton</style>
  10082.         <showName> <true /> </showName>
  10083.         <highlight> <true /> </highlight>
  10084.         <autoHighlight> <false /> </autoHighlight>
  10085.         <sharedHighlight> <true /> </sharedHighlight>
  10086.         <family>0</family>
  10087.         <titleWidth>0</titleWidth>
  10088.         <icon>0</icon>
  10089.         <textAlign>center</textAlign>
  10090.         <font>Geneva</font>
  10091.         <textSize>12</textSize>
  10092.         <textStyle>plain</textStyle>
  10093.         <name>Char</name>
  10094.         <script>on mouseUp
  10095. RadioUpdate 11,13
  10096. select text of cd fld 3
  10097. end mouseUp
  10098. </script>
  10099.     </part>
  10100.     <part>
  10101.         <id>13</id>
  10102.         <type>button</type>
  10103.         <visible> <true /> </visible>
  10104.         <reserved5> 0 </reserved5>
  10105.         <reserved4> 0 </reserved4>
  10106.         <reserved3> 0 </reserved3>
  10107.         <reserved2> 0 </reserved2>
  10108.         <reserved1> 0 </reserved1>
  10109.         <enabled> <true /> </enabled>
  10110.         <rect>
  10111.             <left>359</left>
  10112.             <top>214</top>
  10113.             <right>458</right>
  10114.             <bottom>232</bottom>
  10115.         </rect>
  10116.         <style>radiobutton</style>
  10117.         <showName> <true /> </showName>
  10118.         <highlight> <false /> </highlight>
  10119.         <autoHighlight> <false /> </autoHighlight>
  10120.         <sharedHighlight> <true /> </sharedHighlight>
  10121.         <family>0</family>
  10122.         <titleWidth>0</titleWidth>
  10123.         <icon>0</icon>
  10124.         <textAlign>center</textAlign>
  10125.         <font>Geneva</font>
  10126.         <textSize>12</textSize>
  10127.         <textStyle>plain</textStyle>
  10128.         <name>Word</name>
  10129.         <script>on mouseUp
  10130. RadioUpdate 11,13
  10131. select text of cd fld 3
  10132. end mouseUp
  10133. </script>
  10134.     </part>
  10135.     <part>
  10136.         <id>14</id>
  10137.         <type>button</type>
  10138.         <visible> <true /> </visible>
  10139.         <reserved5> 0 </reserved5>
  10140.         <reserved4> 0 </reserved4>
  10141.         <reserved3> 0 </reserved3>
  10142.         <reserved2> 0 </reserved2>
  10143.         <reserved1> 0 </reserved1>
  10144.         <enabled> <true /> </enabled>
  10145.         <rect>
  10146.             <left>359</left>
  10147.             <top>231</top>
  10148.             <right>458</right>
  10149.             <bottom>249</bottom>
  10150.         </rect>
  10151.         <style>radiobutton</style>
  10152.         <showName> <true /> </showName>
  10153.         <highlight> <false /> </highlight>
  10154.         <autoHighlight> <false /> </autoHighlight>
  10155.         <sharedHighlight> <true /> </sharedHighlight>
  10156.         <family>0</family>
  10157.         <titleWidth>0</titleWidth>
  10158.         <icon>0</icon>
  10159.         <textAlign>center</textAlign>
  10160.         <font>Geneva</font>
  10161.         <textSize>12</textSize>
  10162.         <textStyle>plain</textStyle>
  10163.         <name>Item</name>
  10164.         <script>on mouseUp
  10165. RadioUpdate 11,13
  10166. select text of cd fld 3
  10167. end mouseUp
  10168. </script>
  10169.     </part>
  10170.     <part>
  10171.         <id>24</id>
  10172.         <type>field</type>
  10173.         <visible> <true /> </visible>
  10174.         <dontWrap> <false /> </dontWrap>
  10175.         <dontSearch> <false /> </dontSearch>
  10176.         <sharedText> <false /> </sharedText>
  10177.         <fixedLineHeight> <true /> </fixedLineHeight>
  10178.         <autoTab> <false /> </autoTab>
  10179.         <lockText> <true /> </lockText>
  10180.         <rect>
  10181.             <left>255</left>
  10182.             <top>21</top>
  10183.             <right>436</right>
  10184.             <bottom>171</bottom>
  10185.         </rect>
  10186.         <style>shadow</style>
  10187.         <autoSelect> <false /> </autoSelect>
  10188.         <showLines> <false /> </showLines>
  10189.         <wideMargins> <false /> </wideMargins>
  10190.         <multipleLines> <false /> </multipleLines>
  10191.         <reservedFamily> 0 </reservedFamily>
  10192.         <titleWidth>0</titleWidth>
  10193.         <icon>0</icon>
  10194.         <textAlign>left</textAlign>
  10195.         <font>Geneva</font>
  10196.         <textSize>9</textSize>
  10197.         <textStyle>plain</textStyle>
  10198.         <textHeight>12</textHeight>
  10199.         <name></name>
  10200.         <script></script>
  10201.     </part>
  10202.     <part>
  10203.         <id>15</id>
  10204.         <type>field</type>
  10205.         <visible> <true /> </visible>
  10206.         <dontWrap> <false /> </dontWrap>
  10207.         <dontSearch> <false /> </dontSearch>
  10208.         <sharedText> <false /> </sharedText>
  10209.         <fixedLineHeight> <true /> </fixedLineHeight>
  10210.         <autoTab> <false /> </autoTab>
  10211.         <lockText> <false /> </lockText>
  10212.         <rect>
  10213.             <left>410</left>
  10214.             <top>250</top>
  10215.             <right>451</right>
  10216.             <bottom>268</bottom>
  10217.         </rect>
  10218.         <style>rectangle</style>
  10219.         <autoSelect> <false /> </autoSelect>
  10220.         <showLines> <false /> </showLines>
  10221.         <wideMargins> <false /> </wideMargins>
  10222.         <multipleLines> <false /> </multipleLines>
  10223.         <reservedFamily> 0 </reservedFamily>
  10224.         <titleWidth>0</titleWidth>
  10225.         <icon>0</icon>
  10226.         <textAlign>center</textAlign>
  10227.         <font>Geneva</font>
  10228.         <textSize>12</textSize>
  10229.         <textStyle>plain</textStyle>
  10230.         <textHeight>16</textHeight>
  10231.         <name>Start</name>
  10232.         <script></script>
  10233.     </part>
  10234.     <part>
  10235.         <id>16</id>
  10236.         <type>field</type>
  10237.         <visible> <true /> </visible>
  10238.         <dontWrap> <false /> </dontWrap>
  10239.         <dontSearch> <false /> </dontSearch>
  10240.         <sharedText> <false /> </sharedText>
  10241.         <fixedLineHeight> <true /> </fixedLineHeight>
  10242.         <autoTab> <false /> </autoTab>
  10243.         <lockText> <true /> </lockText>
  10244.         <rect>
  10245.             <left>179</left>
  10246.             <top>310</top>
  10247.             <right>492</right>
  10248.             <bottom>325</bottom>
  10249.         </rect>
  10250.         <style>rectangle</style>
  10251.         <autoSelect> <false /> </autoSelect>
  10252.         <showLines> <false /> </showLines>
  10253.         <wideMargins> <false /> </wideMargins>
  10254.         <multipleLines> <false /> </multipleLines>
  10255.         <reservedFamily> 0 </reservedFamily>
  10256.         <titleWidth>0</titleWidth>
  10257.         <icon>0</icon>
  10258.         <textAlign>center</textAlign>
  10259.         <font>Geneva</font>
  10260.         <textSize>10</textSize>
  10261.         <textStyle>plain</textStyle>
  10262.         <textHeight>13</textHeight>
  10263.         <name></name>
  10264.         <script></script>
  10265.     </part>
  10266.     <part>
  10267.         <id>17</id>
  10268.         <type>button</type>
  10269.         <visible> <true /> </visible>
  10270.         <reserved5> 0 </reserved5>
  10271.         <reserved4> 0 </reserved4>
  10272.         <reserved3> 0 </reserved3>
  10273.         <reserved2> 0 </reserved2>
  10274.         <reserved1> 0 </reserved1>
  10275.         <enabled> <true /> </enabled>
  10276.         <rect>
  10277.             <left>187</left>
  10278.             <top>276</top>
  10279.             <right>334</right>
  10280.             <bottom>305</bottom>
  10281.         </rect>
  10282.         <style>roundrect</style>
  10283.         <showName> <true /> </showName>
  10284.         <highlight> <false /> </highlight>
  10285.         <autoHighlight> <true /> </autoHighlight>
  10286.         <sharedHighlight> <true /> </sharedHighlight>
  10287.         <family>0</family>
  10288.         <titleWidth>0</titleWidth>
  10289.         <icon>0</icon>
  10290.         <textAlign>center</textAlign>
  10291.         <font>Geneva</font>
  10292.         <textSize>12</textSize>
  10293.         <textStyle>plain</textStyle>
  10294.         <name>>> FullSort >></name>
  10295.         <script>on mouseUp
  10296. global FullSortList
  10297. set cursor to watch
  10298.  
  10299. repeat with i=1 to 6
  10300. if hilite of btn i
  10301. then put first char of short name of btn i into Type
  10302. end repeat
  10303.  
  10304. repeat with i=7 to 10
  10305. if hilite of btn i
  10306. then put first char of short name of btn i into Dir
  10307. end repeat
  10308.  
  10309. if hilite of btn 19
  10310. then
  10311. repeat with i=11 to 13
  10312. if hilite of btn i
  10313. then put "," & quote & "c=" & short name of btn i && cd fld 3┬¼
  10314. into Chunk
  10315. end repeat
  10316. if hilite of btn 17
  10317. then put " to " & cd fld "Stop" after Chunk
  10318. put quote after Chunk
  10319. else put empty into Chunk
  10320.  
  10321. put "get FullSort(cd fld 1," & quote & "t=" & Type & quote & ","┬¼
  10322. & quote & "d=" & Dir & quote & Chunk & ")" into cd fld 4
  10323. do cd fld 4
  10324. if first word of it is "Error"
  10325. then
  10326. beep
  10327. answer it
  10328. else
  10329. put it into cd fld 2
  10330. put FullSortList into cd fld 5
  10331. end if
  10332. end mouseUp
  10333. </script>
  10334.     </part>
  10335.     <part>
  10336.         <id>19</id>
  10337.         <type>field</type>
  10338.         <visible> <true /> </visible>
  10339.         <dontWrap> <false /> </dontWrap>
  10340.         <dontSearch> <false /> </dontSearch>
  10341.         <sharedText> <false /> </sharedText>
  10342.         <fixedLineHeight> <true /> </fixedLineHeight>
  10343.         <autoTab> <false /> </autoTab>
  10344.         <lockText> <true /> </lockText>
  10345.         <rect>
  10346.             <left>179</left>
  10347.             <top>327</top>
  10348.             <right>492</right>
  10349.             <bottom>342</bottom>
  10350.         </rect>
  10351.         <style>rectangle</style>
  10352.         <autoSelect> <false /> </autoSelect>
  10353.         <showLines> <false /> </showLines>
  10354.         <wideMargins> <false /> </wideMargins>
  10355.         <multipleLines> <false /> </multipleLines>
  10356.         <reservedFamily> 0 </reservedFamily>
  10357.         <titleWidth>0</titleWidth>
  10358.         <icon>0</icon>
  10359.         <textAlign>center</textAlign>
  10360.         <font>Geneva</font>
  10361.         <textSize>10</textSize>
  10362.         <textStyle>plain</textStyle>
  10363.         <textHeight>13</textHeight>
  10364.         <name></name>
  10365.         <script></script>
  10366.     </part>
  10367.     <part>
  10368.         <id>25</id>
  10369.         <type>button</type>
  10370.         <visible> <true /> </visible>
  10371.         <reserved5> 0 </reserved5>
  10372.         <reserved4> 0 </reserved4>
  10373.         <reserved3> 0 </reserved3>
  10374.         <reserved2> 0 </reserved2>
  10375.         <reserved1> 0 </reserved1>
  10376.         <enabled> <true /> </enabled>
  10377.         <rect>
  10378.             <left>16</left>
  10379.             <top>302</top>
  10380.             <right>53</right>
  10381.             <bottom>335</bottom>
  10382.         </rect>
  10383.         <style>transparent</style>
  10384.         <showName> <false /> </showName>
  10385.         <highlight> <false /> </highlight>
  10386.         <autoHighlight> <false /> </autoHighlight>
  10387.         <sharedHighlight> <true /> </sharedHighlight>
  10388.         <family>0</family>
  10389.         <titleWidth>0</titleWidth>
  10390.         <icon>29114</icon>
  10391.         <textAlign>center</textAlign>
  10392.         <font>Geneva</font>
  10393.         <textSize>12</textSize>
  10394.         <textStyle>plain</textStyle>
  10395.         <name></name>
  10396.         <script>on mouseUp
  10397. go prev
  10398. end mouseUp
  10399. </script>
  10400.     </part>
  10401.     <part>
  10402.         <id>28</id>
  10403.         <type>button</type>
  10404.         <visible> <true /> </visible>
  10405.         <reserved5> 0 </reserved5>
  10406.         <reserved4> 0 </reserved4>
  10407.         <reserved3> 0 </reserved3>
  10408.         <reserved2> 0 </reserved2>
  10409.         <reserved1> 0 </reserved1>
  10410.         <enabled> <true /> </enabled>
  10411.         <rect>
  10412.             <left>360</left>
  10413.             <top>272</top>
  10414.             <right>378</right>
  10415.             <bottom>290</bottom>
  10416.         </rect>
  10417.         <style>checkbox</style>
  10418.         <showName> <true /> </showName>
  10419.         <highlight> <true /> </highlight>
  10420.         <autoHighlight> <true /> </autoHighlight>
  10421.         <sharedHighlight> <true /> </sharedHighlight>
  10422.         <family>0</family>
  10423.         <titleWidth>0</titleWidth>
  10424.         <icon>0</icon>
  10425.         <textAlign>center</textAlign>
  10426.         <font>Geneva</font>
  10427.         <textSize>12</textSize>
  10428.         <textStyle>plain</textStyle>
  10429.         <name></name>
  10430.         <script>on mouseUp
  10431. get hilite of me
  10432. set visible of btn "to #" to it
  10433. set visible of cd fld "Stop" to it
  10434. if it
  10435. then select text of cd fld "Stop"
  10436. else select text of cd fld "Start"
  10437. end mouseUp
  10438. </script>
  10439.     </part>
  10440.     <part>
  10441.         <id>29</id>
  10442.         <type>field</type>
  10443.         <visible> <true /> </visible>
  10444.         <dontWrap> <false /> </dontWrap>
  10445.         <dontSearch> <false /> </dontSearch>
  10446.         <sharedText> <false /> </sharedText>
  10447.         <fixedLineHeight> <true /> </fixedLineHeight>
  10448.         <autoTab> <false /> </autoTab>
  10449.         <lockText> <false /> </lockText>
  10450.         <rect>
  10451.             <left>410</left>
  10452.             <top>273</top>
  10453.             <right>451</right>
  10454.             <bottom>291</bottom>
  10455.         </rect>
  10456.         <style>rectangle</style>
  10457.         <autoSelect> <false /> </autoSelect>
  10458.         <showLines> <false /> </showLines>
  10459.         <wideMargins> <false /> </wideMargins>
  10460.         <multipleLines> <false /> </multipleLines>
  10461.         <reservedFamily> 0 </reservedFamily>
  10462.         <titleWidth>0</titleWidth>
  10463.         <icon>0</icon>
  10464.         <textAlign>center</textAlign>
  10465.         <font>Geneva</font>
  10466.         <textSize>12</textSize>
  10467.         <textStyle>plain</textStyle>
  10468.         <textHeight>16</textHeight>
  10469.         <name>Stop</name>
  10470.         <script></script>
  10471.     </part>
  10472.     <part>
  10473.         <id>31</id>
  10474.         <type>button</type>
  10475.         <visible> <true /> </visible>
  10476.         <reserved5> 0 </reserved5>
  10477.         <reserved4> 0 </reserved4>
  10478.         <reserved3> 0 </reserved3>
  10479.         <reserved2> 0 </reserved2>
  10480.         <reserved1> 0 </reserved1>
  10481.         <enabled> <true /> </enabled>
  10482.         <rect>
  10483.             <left>379</left>
  10484.             <top>275</top>
  10485.             <right>407</right>
  10486.             <bottom>290</bottom>
  10487.         </rect>
  10488.         <style>opaque</style>
  10489.         <showName> <true /> </showName>
  10490.         <highlight> <false /> </highlight>
  10491.         <autoHighlight> <false /> </autoHighlight>
  10492.         <sharedHighlight> <true /> </sharedHighlight>
  10493.         <family>0</family>
  10494.         <titleWidth>0</titleWidth>
  10495.         <icon>0</icon>
  10496.         <textAlign>center</textAlign>
  10497.         <font>Geneva</font>
  10498.         <textSize>12</textSize>
  10499.         <textStyle>plain</textStyle>
  10500.         <name>to #</name>
  10501.         <script></script>
  10502.     </part>
  10503.     <part>
  10504.         <id>32</id>
  10505.         <type>button</type>
  10506.         <visible> <true /> </visible>
  10507.         <reserved5> 0 </reserved5>
  10508.         <reserved4> 0 </reserved4>
  10509.         <reserved3> 0 </reserved3>
  10510.         <reserved2> 0 </reserved2>
  10511.         <reserved1> 0 </reserved1>
  10512.         <enabled> <true /> </enabled>
  10513.         <rect>
  10514.             <left>359</left>
  10515.             <top>181</top>
  10516.             <right>418</right>
  10517.             <bottom>197</bottom>
  10518.         </rect>
  10519.         <style>checkbox</style>
  10520.         <showName> <true /> </showName>
  10521.         <highlight> <true /> </highlight>
  10522.         <autoHighlight> <true /> </autoHighlight>
  10523.         <sharedHighlight> <true /> </sharedHighlight>
  10524.         <family>0</family>
  10525.         <titleWidth>0</titleWidth>
  10526.         <icon>0</icon>
  10527.         <textAlign>center</textAlign>
  10528.         <font>Geneva</font>
  10529.         <textSize>12</textSize>
  10530.         <textStyle>plain</textStyle>
  10531.         <name>Chunk</name>
  10532.         <script>on mouseUp
  10533. UpdateInterface hilite of me
  10534. end mouseUp
  10535. </script>
  10536.     </part>
  10537.     <part>
  10538.         <id>33</id>
  10539.         <type>button</type>
  10540.         <visible> <true /> </visible>
  10541.         <reserved5> 0 </reserved5>
  10542.         <reserved4> 0 </reserved4>
  10543.         <reserved3> 0 </reserved3>
  10544.         <reserved2> 0 </reserved2>
  10545.         <reserved1> 0 </reserved1>
  10546.         <enabled> <true /> </enabled>
  10547.         <rect>
  10548.             <left>395</left>
  10549.             <top>251</top>
  10550.             <right>412</right>
  10551.             <bottom>269</bottom>
  10552.         </rect>
  10553.         <style>transparent</style>
  10554.         <showName> <true /> </showName>
  10555.         <highlight> <false /> </highlight>
  10556.         <autoHighlight> <false /> </autoHighlight>
  10557.         <sharedHighlight> <true /> </sharedHighlight>
  10558.         <family>0</family>
  10559.         <titleWidth>0</titleWidth>
  10560.         <icon>0</icon>
  10561.         <textAlign>center</textAlign>
  10562.         <font>Geneva</font>
  10563.         <textSize>12</textSize>
  10564.         <textStyle>plain</textStyle>
  10565.         <name>#</name>
  10566.         <script></script>
  10567.     </part>
  10568.     <content>
  10569.         <layer>card</layer>
  10570.         <id>1</id>
  10571.         <text>3.1.1
  10572. 3.1.2
  10573. 3.1.11
  10574. 3.1.22
  10575. 3.1.20
  10576. 3.1.10</text>
  10577.     </content>
  10578.     <content>
  10579.         <layer>card</layer>
  10580.         <id>16</id>
  10581.         <text>get FullSort(cd fld 1,"t=N","d=D","c=Char 5 to 11")</text>
  10582.     </content>
  10583.     <content>
  10584.         <layer>card</layer>
  10585.         <id>19</id>
  10586.         <text>4,5,3,6,2,1</text>
  10587.     </content>
  10588.     <content>
  10589.         <layer>card</layer>
  10590.         <id>24</id>
  10591.         <text>3.1.22
  10592. 3.1.20
  10593. 3.1.11
  10594. 3.1.10
  10595. 3.1.2
  10596. 3.1.1</text>
  10597.     </content>
  10598.     <content>
  10599.         <layer>card</layer>
  10600.         <id>15</id>
  10601.         <text>5</text>
  10602.     </content>
  10603.     <content>
  10604.         <layer>card</layer>
  10605.         <id>29</id>
  10606.         <text>11</text>
  10607.     </content>
  10608.     <name>FullSort 2.7-2</name>
  10609.     <script>on radioUpdate Start,Stop
  10610. repeat with i=Start to Stop
  10611. set hilite of btn i to (number of the target = i)
  10612. end repeat
  10613. end radioUpdate
  10614.  
  10615. on UpdateInterface What
  10616. set visible of btn 11 to What
  10617. set visible of btn 12 to What
  10618. set visible of btn 13 to What
  10619. set visible of btn 20 to What
  10620. set visible of cd fld "Start" to What
  10621. set visible of btn 17 to What
  10622. if What
  10623. then select text of cd fld "Start"
  10624. else
  10625. set hilite of btn 17 to false
  10626. set visible of btn 18 to false
  10627. set visible of cd fld "Stop" to false
  10628. end if
  10629. end UpdateInterface</script>
  10630. </card>
  10631.  
  10632.  
  10633. card_22427.xml
  10634. <?xml version="1.0" encoding="utf-8" ?>
  10635. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10636. <card>
  10637.     <id>22427</id>
  10638.     <filler1>0</filler1>
  10639.     <bitmap>BMAP_22584.pbm</bitmap>
  10640.     <cantDelete> <false /> </cantDelete>
  10641.     <showPict> <true /> </showPict>
  10642.     <dontSearch> <false /> </dontSearch>
  10643.     <owner>46925</owner>
  10644.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  10645.     <part>
  10646.         <id>2</id>
  10647.         <type>button</type>
  10648.         <visible> <true /> </visible>
  10649.         <reserved5> 0 </reserved5>
  10650.         <reserved4> 0 </reserved4>
  10651.         <reserved3> 0 </reserved3>
  10652.         <reserved2> 0 </reserved2>
  10653.         <reserved1> 0 </reserved1>
  10654.         <enabled> <true /> </enabled>
  10655.         <rect>
  10656.             <left>16</left>
  10657.             <top>302</top>
  10658.             <right>53</right>
  10659.             <bottom>335</bottom>
  10660.         </rect>
  10661.         <style>transparent</style>
  10662.         <showName> <false /> </showName>
  10663.         <highlight> <false /> </highlight>
  10664.         <autoHighlight> <false /> </autoHighlight>
  10665.         <sharedHighlight> <true /> </sharedHighlight>
  10666.         <family>0</family>
  10667.         <titleWidth>0</titleWidth>
  10668.         <icon>29114</icon>
  10669.         <textAlign>center</textAlign>
  10670.         <font>Geneva</font>
  10671.         <textSize>12</textSize>
  10672.         <textStyle>plain</textStyle>
  10673.         <name></name>
  10674.         <script>on mouseUp
  10675. go prev
  10676. go prev
  10677. end mouseUp
  10678. </script>
  10679.     </part>
  10680.     <part>
  10681.         <id>3</id>
  10682.         <type>field</type>
  10683.         <visible> <true /> </visible>
  10684.         <dontWrap> <false /> </dontWrap>
  10685.         <dontSearch> <false /> </dontSearch>
  10686.         <sharedText> <false /> </sharedText>
  10687.         <fixedLineHeight> <true /> </fixedLineHeight>
  10688.         <autoTab> <false /> </autoTab>
  10689.         <lockText> <true /> </lockText>
  10690.         <rect>
  10691.             <left>130</left>
  10692.             <top>49</top>
  10693.             <right>175</right>
  10694.             <bottom>202</bottom>
  10695.         </rect>
  10696.         <style>shadow</style>
  10697.         <autoSelect> <false /> </autoSelect>
  10698.         <showLines> <true /> </showLines>
  10699.         <wideMargins> <true /> </wideMargins>
  10700.         <multipleLines> <false /> </multipleLines>
  10701.         <reservedFamily> 0 </reservedFamily>
  10702.         <titleWidth>0</titleWidth>
  10703.         <icon>0</icon>
  10704.         <textAlign>center</textAlign>
  10705.         <font>Geneva</font>
  10706.         <textSize>12</textSize>
  10707.         <textStyle>plain</textStyle>
  10708.         <textHeight>16</textHeight>
  10709.         <name></name>
  10710.         <script></script>
  10711.     </part>
  10712.     <part>
  10713.         <id>4</id>
  10714.         <type>field</type>
  10715.         <visible> <true /> </visible>
  10716.         <dontWrap> <false /> </dontWrap>
  10717.         <dontSearch> <false /> </dontSearch>
  10718.         <sharedText> <false /> </sharedText>
  10719.         <fixedLineHeight> <true /> </fixedLineHeight>
  10720.         <autoTab> <false /> </autoTab>
  10721.         <lockText> <false /> </lockText>
  10722.         <rect>
  10723.             <left>231</left>
  10724.             <top>49</top>
  10725.             <right>276</right>
  10726.             <bottom>202</bottom>
  10727.         </rect>
  10728.         <style>shadow</style>
  10729.         <autoSelect> <false /> </autoSelect>
  10730.         <showLines> <true /> </showLines>
  10731.         <wideMargins> <true /> </wideMargins>
  10732.         <multipleLines> <false /> </multipleLines>
  10733.         <reservedFamily> 0 </reservedFamily>
  10734.         <titleWidth>0</titleWidth>
  10735.         <icon>0</icon>
  10736.         <textAlign>center</textAlign>
  10737.         <font>Geneva</font>
  10738.         <textSize>12</textSize>
  10739.         <textStyle>plain</textStyle>
  10740.         <textHeight>16</textHeight>
  10741.         <name></name>
  10742.         <script></script>
  10743.     </part>
  10744.     <part>
  10745.         <id>5</id>
  10746.         <type>field</type>
  10747.         <visible> <true /> </visible>
  10748.         <dontWrap> <false /> </dontWrap>
  10749.         <dontSearch> <false /> </dontSearch>
  10750.         <sharedText> <false /> </sharedText>
  10751.         <fixedLineHeight> <true /> </fixedLineHeight>
  10752.         <autoTab> <false /> </autoTab>
  10753.         <lockText> <true /> </lockText>
  10754.         <rect>
  10755.             <left>332</left>
  10756.             <top>49</top>
  10757.             <right>377</right>
  10758.             <bottom>202</bottom>
  10759.         </rect>
  10760.         <style>shadow</style>
  10761.         <autoSelect> <false /> </autoSelect>
  10762.         <showLines> <true /> </showLines>
  10763.         <wideMargins> <true /> </wideMargins>
  10764.         <multipleLines> <false /> </multipleLines>
  10765.         <reservedFamily> 0 </reservedFamily>
  10766.         <titleWidth>0</titleWidth>
  10767.         <icon>0</icon>
  10768.         <textAlign>center</textAlign>
  10769.         <font>Geneva</font>
  10770.         <textSize>12</textSize>
  10771.         <textStyle>plain</textStyle>
  10772.         <textHeight>16</textHeight>
  10773.         <name></name>
  10774.         <script></script>
  10775.     </part>
  10776.     <part>
  10777.         <id>6</id>
  10778.         <type>button</type>
  10779.         <visible> <true /> </visible>
  10780.         <reserved5> 0 </reserved5>
  10781.         <reserved4> 0 </reserved4>
  10782.         <reserved3> 0 </reserved3>
  10783.         <reserved2> 0 </reserved2>
  10784.         <reserved1> 0 </reserved1>
  10785.         <enabled> <true /> </enabled>
  10786.         <rect>
  10787.             <left>188</left>
  10788.             <top>246</top>
  10789.             <right>333</right>
  10790.             <bottom>277</bottom>
  10791.         </rect>
  10792.         <style>roundrect</style>
  10793.         <showName> <true /> </showName>
  10794.         <highlight> <false /> </highlight>
  10795.         <autoHighlight> <true /> </autoHighlight>
  10796.         <sharedHighlight> <true /> </sharedHighlight>
  10797.         <family>0</family>
  10798.         <titleWidth>0</titleWidth>
  10799.         <icon>0</icon>
  10800.         <textAlign>center</textAlign>
  10801.         <font>Geneva</font>
  10802.         <textSize>12</textSize>
  10803.         <textStyle>plain</textStyle>
  10804.         <name>Full Co-Sort</name>
  10805.         <script>on mouseUp
  10806. put FullSort(cd fld 1,"d=r") into cd fld 1
  10807. put FullSort(cd fld 2,"d=l") into cd fld 2
  10808. put FullSort(cd fld 3,"d=l") into cd fld 3
  10809. end mouseUp
  10810. </script>
  10811.     </part>
  10812.     <content>
  10813.         <layer>card</layer>
  10814.         <id>3</id>
  10815.         <text>A
  10816. B
  10817. C
  10818. D
  10819. E
  10820. F
  10821. G
  10822. H
  10823. </text>
  10824.     </content>
  10825.     <content>
  10826.         <layer>card</layer>
  10827.         <id>4</id>
  10828.         <text>1
  10829. 2
  10830.  
  10831. 4
  10832. 5
  10833. 6
  10834. 7
  10835. 8
  10836. </text>
  10837.     </content>
  10838.     <content>
  10839.         <layer>card</layer>
  10840.         <id>5</id>
  10841.         <text>10
  10842. 20
  10843. 30
  10844. 40
  10845. 50
  10846. 60
  10847. 70
  10848. 80
  10849. 90</text>
  10850.     </content>
  10851.     <name>FullSort 2.7-3</name>
  10852.     <script>on openCard
  10853. set cursor to watch
  10854. put empty into cd fld 1
  10855. put empty into cd fld 2
  10856. put empty into cd fld 3
  10857. repeat with i=65 to 72
  10858. put numToChar(i) & return after cd fld 1
  10859. if i Γëá 67
  10860. then put i-64 & return after cd fld 2
  10861. else put return after cd fld 2
  10862. put (i-64)*10 & return after cd fld 3
  10863. end repeat
  10864. put "90" after cd fld 3
  10865. end openCard
  10866.  
  10867. </script>
  10868. </card>
  10869.  
  10870.  
  10871. card_22940.xml
  10872. <?xml version="1.0" encoding="utf-8" ?>
  10873. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  10874. <card>
  10875.     <id>22940</id>
  10876.     <filler1>0</filler1>
  10877.     <bitmap>BMAP_23205.pbm</bitmap>
  10878.     <cantDelete> <false /> </cantDelete>
  10879.     <showPict> <true /> </showPict>
  10880.     <dontSearch> <false /> </dontSearch>
  10881.     <owner>46925</owner>
  10882.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  10883.     <part>
  10884.         <id>1</id>
  10885.         <type>field</type>
  10886.         <visible> <true /> </visible>
  10887.         <dontWrap> <false /> </dontWrap>
  10888.         <dontSearch> <false /> </dontSearch>
  10889.         <sharedText> <false /> </sharedText>
  10890.         <fixedLineHeight> <true /> </fixedLineHeight>
  10891.         <autoTab> <false /> </autoTab>
  10892.         <lockText> <true /> </lockText>
  10893.         <rect>
  10894.             <left>69</left>
  10895.             <top>68</top>
  10896.             <right>434</right>
  10897.             <bottom>252</bottom>
  10898.         </rect>
  10899.         <style>scrolling</style>
  10900.         <autoSelect> <false /> </autoSelect>
  10901.         <showLines> <false /> </showLines>
  10902.         <wideMargins> <false /> </wideMargins>
  10903.         <multipleLines> <false /> </multipleLines>
  10904.         <reservedFamily> 0 </reservedFamily>
  10905.         <titleWidth>0</titleWidth>
  10906.         <icon>0</icon>
  10907.         <textAlign>left</textAlign>
  10908.         <font>Geneva</font>
  10909.         <textSize>9</textSize>
  10910.         <textStyle>plain</textStyle>
  10911.         <textHeight>12</textHeight>
  10912.         <name>Text</name>
  10913.         <script></script>
  10914.     </part>
  10915.     <part>
  10916.         <id>5</id>
  10917.         <type>button</type>
  10918.         <visible> <true /> </visible>
  10919.         <reserved5> 0 </reserved5>
  10920.         <reserved4> 0 </reserved4>
  10921.         <reserved3> 0 </reserved3>
  10922.         <reserved2> 0 </reserved2>
  10923.         <reserved1> 0 </reserved1>
  10924.         <enabled> <true /> </enabled>
  10925.         <rect>
  10926.             <left>174</left>
  10927.             <top>281</top>
  10928.             <right>343</right>
  10929.             <bottom>311</bottom>
  10930.         </rect>
  10931.         <style>roundrect</style>
  10932.         <showName> <true /> </showName>
  10933.         <highlight> <false /> </highlight>
  10934.         <autoHighlight> <true /> </autoHighlight>
  10935.         <sharedHighlight> <true /> </sharedHighlight>
  10936.         <family>0</family>
  10937.         <titleWidth>0</titleWidth>
  10938.         <icon>0</icon>
  10939.         <textAlign>center</textAlign>
  10940.         <font>Chicago</font>
  10941.         <textSize>12</textSize>
  10942.         <textStyle>plain</textStyle>
  10943.         <name>GetFullText</name>
  10944.         <script>on mouseUp
  10945. show cd fld 2
  10946.  
  10947. GetFullText "cd fld 1"
  10948. if the Result Γëá empty
  10949. then
  10950. answer the Result
  10951. exit mouseUp
  10952. end if
  10953.  
  10954. SetFullText "cd fld 2"
  10955. if the Result Γëá empty
  10956. then
  10957. answer the Result
  10958. exit mouseUp
  10959. end if
  10960. end mouseUp</script>
  10961.     </part>
  10962.     <part>
  10963.         <id>17</id>
  10964.         <type>field</type>
  10965.         <visible> <false /> </visible>
  10966.         <dontWrap> <false /> </dontWrap>
  10967.         <dontSearch> <false /> </dontSearch>
  10968.         <sharedText> <false /> </sharedText>
  10969.         <fixedLineHeight> <true /> </fixedLineHeight>
  10970.         <autoTab> <false /> </autoTab>
  10971.         <lockText> <true /> </lockText>
  10972.         <rect>
  10973.             <left>69</left>
  10974.             <top>15</top>
  10975.             <right>434</right>
  10976.             <bottom>67</bottom>
  10977.         </rect>
  10978.         <style>scrolling</style>
  10979.         <autoSelect> <false /> </autoSelect>
  10980.         <showLines> <false /> </showLines>
  10981.         <wideMargins> <false /> </wideMargins>
  10982.         <multipleLines> <false /> </multipleLines>
  10983.         <reservedFamily> 0 </reservedFamily>
  10984.         <titleWidth>0</titleWidth>
  10985.         <icon>0</icon>
  10986.         <textAlign>left</textAlign>
  10987.         <font>Geneva</font>
  10988.         <textSize>9</textSize>
  10989.         <textStyle>plain</textStyle>
  10990.         <textHeight>12</textHeight>
  10991.         <name>Text</name>
  10992.         <script>on mouseUp
  10993. hide me
  10994. put empty into me
  10995. end mouseUp</script>
  10996.     </part>
  10997.     <content>
  10998.         <layer>card</layer>
  10999.         <id>1</id>
  11000.         <text><span class="style1">
  11001.                                         </span><span class="style3">FullText Stack 1.0</span><span class="style1">
  11002.  
  11003.                                           </span><span class="style2">by Fr├⌐d├⌐ric RINALDI</span><span class="style1">
  11004.  
  11005.  
  11006.   This stack contains two XCMDs : GetFullText and SetFullText that allow to transfer full-styled text between two fields.
  11007.  
  11008.  
  11009.                                            </span><span class="style3">GetFullText 1.0</span><span class="style1">
  11010.  
  11011. </span><span class="style4">DESCRIPTION
  11012. </span><span class="style1">   GetFullText gets the styled text from a field and stores it temporarily in memory until SetFullText is called.
  11013.  
  11014. </span><span class="style4">SYNTAX</span><span class="style1">
  11015.                                    GetFullText <field descriptor>
  11016.  
  11017. </span><span class="style4">PARAMETERS</span><span class="style1">
  11018.    <field descriptor> is a litteral string containing any valid field descriptor. Don't forget to enclose it in quotes, in order for it not to be interpreted by HyperCard when the XCMD is called. If you want to use the field name, you will use :
  11019.  
  11020.          </span><span class="style5">GetFullText "cd fld" && quote & "Name" & quote</span><span class="style1">
  11021.  
  11022.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  11023.  
  11024. </span><span class="style4">USING</span><span class="style1">
  11025.    The XCMD creates a global variable named </span><span class="style6">FullTextHandle</span><span class="style1"> that contains the value of the temporary styled text handle stored in memory. 
  11026.  
  11027. </span><span class="style7">        Don't change its value by yourself, or you will crash your Mac.</span><span class="style8">
  11028. </span><span class="style1">
  11029.    Meanwhile, you can test its content to know if you're ready to use SetFullText, it should be Γëá empty in this case.
  11030.  
  11031. </span><span class="style4">ERRORS</span><span class="style1">
  11032. If an error occurs, GetFullText can return :
  11033.      "Error : Param is not a field descriptor"
  11034.      "Error : Field not found"
  11035.      "Error : GetFullText works only with HC 2.0"
  11036.      "Error : Missing parameter"
  11037.      "Error : Out of memory"
  11038.      "Error : Couldn't set FullTextHandle global"
  11039.  
  11040.  
  11041.  
  11042.                                            </span><span class="style3">SetFullText 1.0</span><span class="style1">
  11043.  
  11044. </span><span class="style4">DESCRIPTION
  11045. </span><span class="style1">   SetFullText sets the styled  content of a a field using information previously stored in memory by GetFullTExt.
  11046.  
  11047. </span><span class="style4">SYNTAX</span><span class="style1">
  11048.                                    SetFullText <field descriptor>
  11049.  
  11050. </span><span class="style4">PARAMETERS</span><span class="style1">
  11051.    <field descriptor> is a litteral string containing any valid field descriptor. Don't forget to enclose it in quotes, in order for it not to be interpreted by HyperCard when the XCMD is called. If you want to use the field name, you will use :
  11052.  
  11053.          </span><span class="style5">SetFullText "cd fld" && quote & "Name" & quote</span><span class="style1">
  11054.  
  11055.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  11056.  
  11057. </span><span class="style4">USING</span><span class="style1">
  11058.    The XCMD uses the global variable named </span><span class="style6">FullTextHandle</span><span class="style1">, previsouly created by GetFullTExt and that contains the value of the temporary styled text handle stored in memory. 
  11059.  
  11060. </span><span class="style7">        Don't change its value by yourself, or you will crash your Mac.</span><span class="style8">
  11061. </span><span class="style1">
  11062.    Meanwhile, you can test its content to know if you're ready to use SetFullText, it should be Γëá empty in this case.
  11063.  
  11064.    This global variable and the styled text handle are purged from memory by SetFullText. So each call to SetFullText must be preceeded by GetFullText.
  11065.  
  11066. </span><span class="style4">ERRORS
  11067. </span><span class="style1">If an error occurs, SetFullText can return :
  11068.      "Error : Param is not a field descriptor"
  11069.      "Error : Field not found"
  11070.      "Error : SetFullText works only with HC 2.0"
  11071.      "Error : Missing parameter"
  11072.      "Error : Must first use GetFullText"
  11073.      "Error : Couldn't set destination field"
  11074.      "Error : Couldn't empty FullTextHandle global"
  11075. </span></text>
  11076.     </content>
  11077.     <name>FullText 1.0</name>
  11078.     <script>
  11079.  
  11080.  
  11081.  
  11082. on opencard
  11083. end opencard
  11084.  
  11085. on closeCard
  11086. hide cd fld 2
  11087. put empty into cd fld 2
  11088. end closeCard
  11089.  
  11090. </script>
  11091. </card>
  11092.  
  11093.  
  11094. card_23541.xml
  11095. <?xml version="1.0" encoding="utf-8" ?>
  11096. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  11097. <card>
  11098.     <id>23541</id>
  11099.     <filler1>0</filler1>
  11100.     <bitmap>BMAP_23645.pbm</bitmap>
  11101.     <cantDelete> <false /> </cantDelete>
  11102.     <showPict> <true /> </showPict>
  11103.     <dontSearch> <false /> </dontSearch>
  11104.     <owner>46925</owner>
  11105.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  11106.     <part>
  11107.         <id>1</id>
  11108.         <type>field</type>
  11109.         <visible> <true /> </visible>
  11110.         <dontWrap> <false /> </dontWrap>
  11111.         <dontSearch> <false /> </dontSearch>
  11112.         <sharedText> <false /> </sharedText>
  11113.         <fixedLineHeight> <true /> </fixedLineHeight>
  11114.         <autoTab> <false /> </autoTab>
  11115.         <lockText> <true /> </lockText>
  11116.         <rect>
  11117.             <left>69</left>
  11118.             <top>68</top>
  11119.             <right>434</right>
  11120.             <bottom>252</bottom>
  11121.         </rect>
  11122.         <style>scrolling</style>
  11123.         <autoSelect> <false /> </autoSelect>
  11124.         <showLines> <false /> </showLines>
  11125.         <wideMargins> <false /> </wideMargins>
  11126.         <multipleLines> <false /> </multipleLines>
  11127.         <reservedFamily> 0 </reservedFamily>
  11128.         <titleWidth>0</titleWidth>
  11129.         <icon>0</icon>
  11130.         <textAlign>left</textAlign>
  11131.         <font>Geneva</font>
  11132.         <textSize>9</textSize>
  11133.         <textStyle>plain</textStyle>
  11134.         <textHeight>12</textHeight>
  11135.         <name></name>
  11136.         <script></script>
  11137.     </part>
  11138.     <part>
  11139.         <id>25</id>
  11140.         <type>button</type>
  11141.         <visible> <true /> </visible>
  11142.         <reserved5> 0 </reserved5>
  11143.         <reserved4> 0 </reserved4>
  11144.         <reserved3> 0 </reserved3>
  11145.         <reserved2> 0 </reserved2>
  11146.         <reserved1> 0 </reserved1>
  11147.         <enabled> <true /> </enabled>
  11148.         <rect>
  11149.             <left>201</left>
  11150.             <top>278</top>
  11151.             <right>346</right>
  11152.             <bottom>316</bottom>
  11153.         </rect>
  11154.         <style>roundrect</style>
  11155.         <showName> <true /> </showName>
  11156.         <highlight> <false /> </highlight>
  11157.         <autoHighlight> <true /> </autoHighlight>
  11158.         <sharedHighlight> <true /> </sharedHighlight>
  11159.         <family>0</family>
  11160.         <titleWidth>0</titleWidth>
  11161.         <icon>0</icon>
  11162.         <textAlign>center</textAlign>
  11163.         <font>Geneva</font>
  11164.         <textSize>12</textSize>
  11165.         <textStyle>plain</textStyle>
  11166.         <name>GetBootVol</name>
  11167.         <script>on mouseUp
  11168. answer "Boot volume : " & GetBootVol()
  11169. end mouseUp
  11170. </script>
  11171.     </part>
  11172.     <part>
  11173.         <id>26</id>
  11174.         <type>field</type>
  11175.         <visible> <false /> </visible>
  11176.         <dontWrap> <false /> </dontWrap>
  11177.         <dontSearch> <false /> </dontSearch>
  11178.         <sharedText> <false /> </sharedText>
  11179.         <fixedLineHeight> <true /> </fixedLineHeight>
  11180.         <autoTab> <false /> </autoTab>
  11181.         <lockText> <true /> </lockText>
  11182.         <rect>
  11183.             <left>98</left>
  11184.             <top>87</top>
  11185.             <right>408</right>
  11186.             <bottom>222</bottom>
  11187.         </rect>
  11188.         <style>shadow</style>
  11189.         <autoSelect> <false /> </autoSelect>
  11190.         <showLines> <false /> </showLines>
  11191.         <wideMargins> <true /> </wideMargins>
  11192.         <multipleLines> <false /> </multipleLines>
  11193.         <reservedFamily> 0 </reservedFamily>
  11194.         <titleWidth>0</titleWidth>
  11195.         <icon>0</icon>
  11196.         <textAlign>left</textAlign>
  11197.         <font>Geneva</font>
  11198.         <textSize>12</textSize>
  11199.         <textStyle>plain</textStyle>
  11200.         <textHeight>16</textHeight>
  11201.         <name></name>
  11202.         <script>on mouseUp
  11203. hide cd fld 3
  11204. hide cd fld 2
  11205. end mouseUp</script>
  11206.     </part>
  11207.     <part>
  11208.         <id>27</id>
  11209.         <type>field</type>
  11210.         <visible> <false /> </visible>
  11211.         <dontWrap> <false /> </dontWrap>
  11212.         <dontSearch> <false /> </dontSearch>
  11213.         <sharedText> <false /> </sharedText>
  11214.         <fixedLineHeight> <true /> </fixedLineHeight>
  11215.         <autoTab> <false /> </autoTab>
  11216.         <lockText> <true /> </lockText>
  11217.         <rect>
  11218.             <left>179</left>
  11219.             <top>107</top>
  11220.             <right>381</right>
  11221.             <bottom>207</bottom>
  11222.         </rect>
  11223.         <style>transparent</style>
  11224.         <autoSelect> <false /> </autoSelect>
  11225.         <showLines> <false /> </showLines>
  11226.         <wideMargins> <false /> </wideMargins>
  11227.         <multipleLines> <false /> </multipleLines>
  11228.         <reservedFamily> 0 </reservedFamily>
  11229.         <titleWidth>0</titleWidth>
  11230.         <icon>0</icon>
  11231.         <textAlign>left</textAlign>
  11232.         <font>Geneva</font>
  11233.         <textSize>10</textSize>
  11234.         <textStyle>plain</textStyle>
  11235.         <textHeight>16</textHeight>
  11236.         <name></name>
  11237.         <script>on mouseUp
  11238. hide cd fld 3
  11239. hide cd fld 2
  11240. end mouseUp</script>
  11241.     </part>
  11242.     <content>
  11243.         <layer>card</layer>
  11244.         <id>1</id>
  11245.         <text>
  11246.                                              GetBootVol 1.1
  11247.  
  11248.                                          by Fr├⌐d├⌐ric RINALDI
  11249.  
  11250.  
  11251.  
  11252.  
  11253. DESCRIPTION
  11254. ------------
  11255.   GetBootVol returns the name of the boot volume.
  11256.  
  11257.  
  11258. SYNTAX
  11259. --------
  11260.                                               GetBootVol ( )
  11261.  
  11262.  
  11263. PARAMETERS
  11264. ------------
  11265.  
  11266.      No parameter is required, but using "!" and "?" as first parameter will return an online help (resp. copyright ans syntax).
  11267.  
  11268.  
  11269. USING
  11270. -----
  11271.    The string returned is the name of the boot volume. If an error occurs, the XFCN will return :
  11272.  
  11273.                         "Error : couldn't get boot volume name"
  11274. </text>
  11275.     </content>
  11276.     <content>
  11277.         <layer>card</layer>
  11278.         <id>26</id>
  11279.         <text>
  11280. CPU
  11281. System
  11282. Processor
  11283. FPU
  11284. ColoQD
  11285. Keyboard</text>
  11286.     </content>
  11287.     <content>
  11288.         <layer>card</layer>
  11289.         <id>27</id>
  11290.         <text>Macintosh IIx
  11291. 6.4
  11292. MC68030
  11293. true
  11294. true
  11295. Apple Extended keyboard</text>
  11296.     </content>
  11297.     <name>GetBootVol 1.1</name>
  11298.     <script>
  11299.  
  11300.  
  11301.  
  11302. on opencard
  11303. end opencard
  11304.  
  11305. on closeCard
  11306. hide cd fld 3
  11307. hide cd fld 2
  11308. end closeCard
  11309.  
  11310. </script>
  11311. </card>
  11312.  
  11313.  
  11314. card_23886.xml
  11315. <?xml version="1.0" encoding="utf-8" ?>
  11316. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  11317. <card>
  11318.     <id>23886</id>
  11319.     <filler1>0</filler1>
  11320.     <bitmap>BMAP_24217.pbm</bitmap>
  11321.     <cantDelete> <false /> </cantDelete>
  11322.     <showPict> <true /> </showPict>
  11323.     <dontSearch> <false /> </dontSearch>
  11324.     <owner>46925</owner>
  11325.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  11326.     <part>
  11327.         <id>1</id>
  11328.         <type>field</type>
  11329.         <visible> <true /> </visible>
  11330.         <dontWrap> <false /> </dontWrap>
  11331.         <dontSearch> <false /> </dontSearch>
  11332.         <sharedText> <false /> </sharedText>
  11333.         <fixedLineHeight> <true /> </fixedLineHeight>
  11334.         <autoTab> <false /> </autoTab>
  11335.         <lockText> <true /> </lockText>
  11336.         <rect>
  11337.             <left>69</left>
  11338.             <top>63</top>
  11339.             <right>434</right>
  11340.             <bottom>234</bottom>
  11341.         </rect>
  11342.         <style>scrolling</style>
  11343.         <autoSelect> <false /> </autoSelect>
  11344.         <showLines> <false /> </showLines>
  11345.         <wideMargins> <false /> </wideMargins>
  11346.         <multipleLines> <false /> </multipleLines>
  11347.         <reservedFamily> 0 </reservedFamily>
  11348.         <titleWidth>0</titleWidth>
  11349.         <icon>0</icon>
  11350.         <textAlign>left</textAlign>
  11351.         <font>Geneva</font>
  11352.         <textSize>9</textSize>
  11353.         <textStyle>plain</textStyle>
  11354.         <textHeight>12</textHeight>
  11355.         <name></name>
  11356.         <script></script>
  11357.     </part>
  11358.     <part>
  11359.         <id>28</id>
  11360.         <type>field</type>
  11361.         <visible> <true /> </visible>
  11362.         <dontWrap> <false /> </dontWrap>
  11363.         <dontSearch> <false /> </dontSearch>
  11364.         <sharedText> <false /> </sharedText>
  11365.         <fixedLineHeight> <true /> </fixedLineHeight>
  11366.         <autoTab> <false /> </autoTab>
  11367.         <lockText> <false /> </lockText>
  11368.         <rect>
  11369.             <left>126</left>
  11370.             <top>237</top>
  11371.             <right>295</right>
  11372.             <bottom>251</bottom>
  11373.         </rect>
  11374.         <style>transparent</style>
  11375.         <autoSelect> <false /> </autoSelect>
  11376.         <showLines> <true /> </showLines>
  11377.         <wideMargins> <false /> </wideMargins>
  11378.         <multipleLines> <false /> </multipleLines>
  11379.         <reservedFamily> 0 </reservedFamily>
  11380.         <titleWidth>0</titleWidth>
  11381.         <icon>0</icon>
  11382.         <textAlign>left</textAlign>
  11383.         <font>Geneva</font>
  11384.         <textSize>9</textSize>
  11385.         <textStyle>plain</textStyle>
  11386.         <textHeight>12</textHeight>
  11387.         <name></name>
  11388.         <script></script>
  11389.     </part>
  11390.     <part>
  11391.         <id>29</id>
  11392.         <type>button</type>
  11393.         <visible> <true /> </visible>
  11394.         <reserved5> 0 </reserved5>
  11395.         <reserved4> 0 </reserved4>
  11396.         <reserved3> 0 </reserved3>
  11397.         <reserved2> 0 </reserved2>
  11398.         <reserved1> 0 </reserved1>
  11399.         <enabled> <true /> </enabled>
  11400.         <rect>
  11401.             <left>331</left>
  11402.             <top>236</top>
  11403.             <right>366</right>
  11404.             <bottom>252</bottom>
  11405.         </rect>
  11406.         <style>radiobutton</style>
  11407.         <showName> <true /> </showName>
  11408.         <highlight> <true /> </highlight>
  11409.         <autoHighlight> <false /> </autoHighlight>
  11410.         <sharedHighlight> <true /> </sharedHighlight>
  11411.         <family>0</family>
  11412.         <titleWidth>0</titleWidth>
  11413.         <icon>0</icon>
  11414.         <textAlign>center</textAlign>
  11415.         <font>Geneva</font>
  11416.         <textSize>9</textSize>
  11417.         <textStyle>plain</textStyle>
  11418.         <name>All</name>
  11419.         <script>on mouseUp
  11420. RadioUpdate 1,3
  11421. end mouseUp
  11422. </script>
  11423.     </part>
  11424.     <part>
  11425.         <id>30</id>
  11426.         <type>button</type>
  11427.         <visible> <true /> </visible>
  11428.         <reserved5> 0 </reserved5>
  11429.         <reserved4> 0 </reserved4>
  11430.         <reserved3> 0 </reserved3>
  11431.         <reserved2> 0 </reserved2>
  11432.         <reserved1> 0 </reserved1>
  11433.         <enabled> <true /> </enabled>
  11434.         <rect>
  11435.             <left>365</left>
  11436.             <top>236</top>
  11437.             <right>407</right>
  11438.             <bottom>252</bottom>
  11439.         </rect>
  11440.         <style>radiobutton</style>
  11441.         <showName> <true /> </showName>
  11442.         <highlight> <false /> </highlight>
  11443.         <autoHighlight> <false /> </autoHighlight>
  11444.         <sharedHighlight> <true /> </sharedHighlight>
  11445.         <family>0</family>
  11446.         <titleWidth>0</titleWidth>
  11447.         <icon>0</icon>
  11448.         <textAlign>center</textAlign>
  11449.         <font>Geneva</font>
  11450.         <textSize>9</textSize>
  11451.         <textStyle>plain</textStyle>
  11452.         <name>Files</name>
  11453.         <script>on mouseUp
  11454. RadioUpdate 1,3
  11455. end mouseUp
  11456. </script>
  11457.     </part>
  11458.     <part>
  11459.         <id>32</id>
  11460.         <type>button</type>
  11461.         <visible> <true /> </visible>
  11462.         <reserved5> 0 </reserved5>
  11463.         <reserved4> 0 </reserved4>
  11464.         <reserved3> 0 </reserved3>
  11465.         <reserved2> 0 </reserved2>
  11466.         <reserved1> 0 </reserved1>
  11467.         <enabled> <true /> </enabled>
  11468.         <rect>
  11469.             <left>406</left>
  11470.             <top>236</top>
  11471.             <right>479</right>
  11472.             <bottom>252</bottom>
  11473.         </rect>
  11474.         <style>radiobutton</style>
  11475.         <showName> <true /> </showName>
  11476.         <highlight> <false /> </highlight>
  11477.         <autoHighlight> <false /> </autoHighlight>
  11478.         <sharedHighlight> <true /> </sharedHighlight>
  11479.         <family>0</family>
  11480.         <titleWidth>0</titleWidth>
  11481.         <icon>0</icon>
  11482.         <textAlign>center</textAlign>
  11483.         <font>Geneva</font>
  11484.         <textSize>9</textSize>
  11485.         <textStyle>plain</textStyle>
  11486.         <name>Directories</name>
  11487.         <script>on mouseUp
  11488. RadioUpdate 1,3
  11489. end mouseUp
  11490. </script>
  11491.     </part>
  11492.     <part>
  11493.         <id>34</id>
  11494.         <type>button</type>
  11495.         <visible> <true /> </visible>
  11496.         <reserved5> 0 </reserved5>
  11497.         <reserved4> 0 </reserved4>
  11498.         <reserved3> 0 </reserved3>
  11499.         <reserved2> 0 </reserved2>
  11500.         <reserved1> 0 </reserved1>
  11501.         <enabled> <true /> </enabled>
  11502.         <rect>
  11503.             <left>80</left>
  11504.             <top>254</top>
  11505.             <right>111</right>
  11506.             <bottom>266</bottom>
  11507.         </rect>
  11508.         <style>radiobutton</style>
  11509.         <showName> <true /> </showName>
  11510.         <highlight> <false /> </highlight>
  11511.         <autoHighlight> <false /> </autoHighlight>
  11512.         <sharedHighlight> <true /> </sharedHighlight>
  11513.         <family>0</family>
  11514.         <titleWidth>0</titleWidth>
  11515.         <icon>0</icon>
  11516.         <textAlign>center</textAlign>
  11517.         <font>Geneva</font>
  11518.         <textSize>9</textSize>
  11519.         <textStyle>plain</textStyle>
  11520.         <name>c=</name>
  11521.         <script>on mouseUp
  11522. RadioUpdate 4,9
  11523. end mouseUp
  11524. </script>
  11525.     </part>
  11526.     <part>
  11527.         <id>55</id>
  11528.         <type>button</type>
  11529.         <visible> <true /> </visible>
  11530.         <reserved5> 0 </reserved5>
  11531.         <reserved4> 0 </reserved4>
  11532.         <reserved3> 0 </reserved3>
  11533.         <reserved2> 0 </reserved2>
  11534.         <reserved1> 0 </reserved1>
  11535.         <enabled> <true /> </enabled>
  11536.         <rect>
  11537.             <left>80</left>
  11538.             <top>266</top>
  11539.             <right>111</right>
  11540.             <bottom>278</bottom>
  11541.         </rect>
  11542.         <style>radiobutton</style>
  11543.         <showName> <true /> </showName>
  11544.         <highlight> <false /> </highlight>
  11545.         <autoHighlight> <false /> </autoHighlight>
  11546.         <sharedHighlight> <true /> </sharedHighlight>
  11547.         <family>0</family>
  11548.         <titleWidth>0</titleWidth>
  11549.         <icon>0</icon>
  11550.         <textAlign>center</textAlign>
  11551.         <font>Geneva</font>
  11552.         <textSize>9</textSize>
  11553.         <textStyle>plain</textStyle>
  11554.         <name>cΓëá</name>
  11555.         <script>on mouseUp
  11556. RadioUpdate 4,9
  11557. end mouseUp
  11558. </script>
  11559.     </part>
  11560.     <part>
  11561.         <id>56</id>
  11562.         <type>button</type>
  11563.         <visible> <true /> </visible>
  11564.         <reserved5> 0 </reserved5>
  11565.         <reserved4> 0 </reserved4>
  11566.         <reserved3> 0 </reserved3>
  11567.         <reserved2> 0 </reserved2>
  11568.         <reserved1> 0 </reserved1>
  11569.         <enabled> <true /> </enabled>
  11570.         <rect>
  11571.             <left>80</left>
  11572.             <top>278</top>
  11573.             <right>111</right>
  11574.             <bottom>290</bottom>
  11575.         </rect>
  11576.         <style>radiobutton</style>
  11577.         <showName> <true /> </showName>
  11578.         <highlight> <false /> </highlight>
  11579.         <autoHighlight> <false /> </autoHighlight>
  11580.         <sharedHighlight> <true /> </sharedHighlight>
  11581.         <family>0</family>
  11582.         <titleWidth>0</titleWidth>
  11583.         <icon>0</icon>
  11584.         <textAlign>center</textAlign>
  11585.         <font>Geneva</font>
  11586.         <textSize>9</textSize>
  11587.         <textStyle>plain</textStyle>
  11588.         <name>c></name>
  11589.         <script>on mouseUp
  11590. RadioUpdate 4,9
  11591. end mouseUp
  11592. </script>
  11593.     </part>
  11594.     <part>
  11595.         <id>57</id>
  11596.         <type>button</type>
  11597.         <visible> <true /> </visible>
  11598.         <reserved5> 0 </reserved5>
  11599.         <reserved4> 0 </reserved4>
  11600.         <reserved3> 0 </reserved3>
  11601.         <reserved2> 0 </reserved2>
  11602.         <reserved1> 0 </reserved1>
  11603.         <enabled> <true /> </enabled>
  11604.         <rect>
  11605.             <left>80</left>
  11606.             <top>290</top>
  11607.             <right>111</right>
  11608.             <bottom>302</bottom>
  11609.         </rect>
  11610.         <style>radiobutton</style>
  11611.         <showName> <true /> </showName>
  11612.         <highlight> <false /> </highlight>
  11613.         <autoHighlight> <false /> </autoHighlight>
  11614.         <sharedHighlight> <true /> </sharedHighlight>
  11615.         <family>0</family>
  11616.         <titleWidth>0</titleWidth>
  11617.         <icon>0</icon>
  11618.         <textAlign>center</textAlign>
  11619.         <font>Geneva</font>
  11620.         <textSize>9</textSize>
  11621.         <textStyle>plain</textStyle>
  11622.         <name>c<</name>
  11623.         <script>on mouseUp
  11624. RadioUpdate 4,9
  11625. end mouseUp
  11626. </script>
  11627.     </part>
  11628.     <part>
  11629.         <id>58</id>
  11630.         <type>button</type>
  11631.         <visible> <true /> </visible>
  11632.         <reserved5> 0 </reserved5>
  11633.         <reserved4> 0 </reserved4>
  11634.         <reserved3> 0 </reserved3>
  11635.         <reserved2> 0 </reserved2>
  11636.         <reserved1> 0 </reserved1>
  11637.         <enabled> <true /> </enabled>
  11638.         <rect>
  11639.             <left>80</left>
  11640.             <top>302</top>
  11641.             <right>111</right>
  11642.             <bottom>314</bottom>
  11643.         </rect>
  11644.         <style>radiobutton</style>
  11645.         <showName> <true /> </showName>
  11646.         <highlight> <false /> </highlight>
  11647.         <autoHighlight> <false /> </autoHighlight>
  11648.         <sharedHighlight> <true /> </sharedHighlight>
  11649.         <family>0</family>
  11650.         <titleWidth>0</titleWidth>
  11651.         <icon>0</icon>
  11652.         <textAlign>center</textAlign>
  11653.         <font>Geneva</font>
  11654.         <textSize>9</textSize>
  11655.         <textStyle>plain</textStyle>
  11656.         <name>cΓëÑ</name>
  11657.         <script>on mouseUp
  11658. RadioUpdate 4,9
  11659. end mouseUp
  11660. </script>
  11661.     </part>
  11662.     <part>
  11663.         <id>59</id>
  11664.         <type>button</type>
  11665.         <visible> <true /> </visible>
  11666.         <reserved5> 0 </reserved5>
  11667.         <reserved4> 0 </reserved4>
  11668.         <reserved3> 0 </reserved3>
  11669.         <reserved2> 0 </reserved2>
  11670.         <reserved1> 0 </reserved1>
  11671.         <enabled> <true /> </enabled>
  11672.         <rect>
  11673.             <left>80</left>
  11674.             <top>314</top>
  11675.             <right>111</right>
  11676.             <bottom>326</bottom>
  11677.         </rect>
  11678.         <style>radiobutton</style>
  11679.         <showName> <true /> </showName>
  11680.         <highlight> <false /> </highlight>
  11681.         <autoHighlight> <false /> </autoHighlight>
  11682.         <sharedHighlight> <true /> </sharedHighlight>
  11683.         <family>0</family>
  11684.         <titleWidth>0</titleWidth>
  11685.         <icon>0</icon>
  11686.         <textAlign>center</textAlign>
  11687.         <font>Geneva</font>
  11688.         <textSize>9</textSize>
  11689.         <textStyle>plain</textStyle>
  11690.         <name>cΓëñ</name>
  11691.         <script>on mouseUp
  11692. RadioUpdate 4,9
  11693. end mouseUp
  11694. </script>
  11695.     </part>
  11696.     <part>
  11697.         <id>60</id>
  11698.         <type>field</type>
  11699.         <visible> <true /> </visible>
  11700.         <dontWrap> <false /> </dontWrap>
  11701.         <dontSearch> <false /> </dontSearch>
  11702.         <sharedText> <false /> </sharedText>
  11703.         <fixedLineHeight> <true /> </fixedLineHeight>
  11704.         <autoTab> <false /> </autoTab>
  11705.         <lockText> <false /> </lockText>
  11706.         <rect>
  11707.             <left>79</left>
  11708.             <top>327</top>
  11709.             <right>113</right>
  11710.             <bottom>341</bottom>
  11711.         </rect>
  11712.         <style>opaque</style>
  11713.         <autoSelect> <false /> </autoSelect>
  11714.         <showLines> <true /> </showLines>
  11715.         <wideMargins> <false /> </wideMargins>
  11716.         <multipleLines> <false /> </multipleLines>
  11717.         <reservedFamily> 0 </reservedFamily>
  11718.         <titleWidth>0</titleWidth>
  11719.         <icon>0</icon>
  11720.         <textAlign>center</textAlign>
  11721.         <font>Geneva</font>
  11722.         <textSize>9</textSize>
  11723.         <textStyle>plain</textStyle>
  11724.         <textHeight>12</textHeight>
  11725.         <name></name>
  11726.         <script></script>
  11727.     </part>
  11728.     <part>
  11729.         <id>61</id>
  11730.         <type>button</type>
  11731.         <visible> <true /> </visible>
  11732.         <reserved5> 0 </reserved5>
  11733.         <reserved4> 0 </reserved4>
  11734.         <reserved3> 0 </reserved3>
  11735.         <reserved2> 0 </reserved2>
  11736.         <reserved1> 0 </reserved1>
  11737.         <enabled> <true /> </enabled>
  11738.         <rect>
  11739.             <left>118</left>
  11740.             <top>254</top>
  11741.             <right>149</right>
  11742.             <bottom>266</bottom>
  11743.         </rect>
  11744.         <style>radiobutton</style>
  11745.         <showName> <true /> </showName>
  11746.         <highlight> <false /> </highlight>
  11747.         <autoHighlight> <false /> </autoHighlight>
  11748.         <sharedHighlight> <true /> </sharedHighlight>
  11749.         <family>0</family>
  11750.         <titleWidth>0</titleWidth>
  11751.         <icon>0</icon>
  11752.         <textAlign>center</textAlign>
  11753.         <font>Geneva</font>
  11754.         <textSize>9</textSize>
  11755.         <textStyle>plain</textStyle>
  11756.         <name>d=</name>
  11757.         <script>on mouseUp
  11758. RadioUpdate 10,15
  11759. end mouseUp</script>
  11760.     </part>
  11761.     <part>
  11762.         <id>62</id>
  11763.         <type>button</type>
  11764.         <visible> <true /> </visible>
  11765.         <reserved5> 0 </reserved5>
  11766.         <reserved4> 0 </reserved4>
  11767.         <reserved3> 0 </reserved3>
  11768.         <reserved2> 0 </reserved2>
  11769.         <reserved1> 0 </reserved1>
  11770.         <enabled> <true /> </enabled>
  11771.         <rect>
  11772.             <left>118</left>
  11773.             <top>266</top>
  11774.             <right>149</right>
  11775.             <bottom>278</bottom>
  11776.         </rect>
  11777.         <style>radiobutton</style>
  11778.         <showName> <true /> </showName>
  11779.         <highlight> <false /> </highlight>
  11780.         <autoHighlight> <false /> </autoHighlight>
  11781.         <sharedHighlight> <true /> </sharedHighlight>
  11782.         <family>0</family>
  11783.         <titleWidth>0</titleWidth>
  11784.         <icon>0</icon>
  11785.         <textAlign>center</textAlign>
  11786.         <font>Geneva</font>
  11787.         <textSize>9</textSize>
  11788.         <textStyle>plain</textStyle>
  11789.         <name>dΓëá</name>
  11790.         <script>on mouseUp
  11791. RadioUpdate 10,15
  11792. end mouseUp</script>
  11793.     </part>
  11794.     <part>
  11795.         <id>63</id>
  11796.         <type>button</type>
  11797.         <visible> <true /> </visible>
  11798.         <reserved5> 0 </reserved5>
  11799.         <reserved4> 0 </reserved4>
  11800.         <reserved3> 0 </reserved3>
  11801.         <reserved2> 0 </reserved2>
  11802.         <reserved1> 0 </reserved1>
  11803.         <enabled> <true /> </enabled>
  11804.         <rect>
  11805.             <left>118</left>
  11806.             <top>278</top>
  11807.             <right>149</right>
  11808.             <bottom>290</bottom>
  11809.         </rect>
  11810.         <style>radiobutton</style>
  11811.         <showName> <true /> </showName>
  11812.         <highlight> <false /> </highlight>
  11813.         <autoHighlight> <false /> </autoHighlight>
  11814.         <sharedHighlight> <true /> </sharedHighlight>
  11815.         <family>0</family>
  11816.         <titleWidth>0</titleWidth>
  11817.         <icon>0</icon>
  11818.         <textAlign>center</textAlign>
  11819.         <font>Geneva</font>
  11820.         <textSize>9</textSize>
  11821.         <textStyle>plain</textStyle>
  11822.         <name>d></name>
  11823.         <script>on mouseUp
  11824. RadioUpdate 10,15
  11825. end mouseUp</script>
  11826.     </part>
  11827.     <part>
  11828.         <id>64</id>
  11829.         <type>button</type>
  11830.         <visible> <true /> </visible>
  11831.         <reserved5> 0 </reserved5>
  11832.         <reserved4> 0 </reserved4>
  11833.         <reserved3> 0 </reserved3>
  11834.         <reserved2> 0 </reserved2>
  11835.         <reserved1> 0 </reserved1>
  11836.         <enabled> <true /> </enabled>
  11837.         <rect>
  11838.             <left>118</left>
  11839.             <top>290</top>
  11840.             <right>149</right>
  11841.             <bottom>302</bottom>
  11842.         </rect>
  11843.         <style>radiobutton</style>
  11844.         <showName> <true /> </showName>
  11845.         <highlight> <false /> </highlight>
  11846.         <autoHighlight> <false /> </autoHighlight>
  11847.         <sharedHighlight> <true /> </sharedHighlight>
  11848.         <family>0</family>
  11849.         <titleWidth>0</titleWidth>
  11850.         <icon>0</icon>
  11851.         <textAlign>center</textAlign>
  11852.         <font>Geneva</font>
  11853.         <textSize>9</textSize>
  11854.         <textStyle>plain</textStyle>
  11855.         <name>d<</name>
  11856.         <script>on mouseUp
  11857. RadioUpdate 10,15
  11858. end mouseUp</script>
  11859.     </part>
  11860.     <part>
  11861.         <id>65</id>
  11862.         <type>button</type>
  11863.         <visible> <true /> </visible>
  11864.         <reserved5> 0 </reserved5>
  11865.         <reserved4> 0 </reserved4>
  11866.         <reserved3> 0 </reserved3>
  11867.         <reserved2> 0 </reserved2>
  11868.         <reserved1> 0 </reserved1>
  11869.         <enabled> <true /> </enabled>
  11870.         <rect>
  11871.             <left>118</left>
  11872.             <top>302</top>
  11873.             <right>149</right>
  11874.             <bottom>314</bottom>
  11875.         </rect>
  11876.         <style>radiobutton</style>
  11877.         <showName> <true /> </showName>
  11878.         <highlight> <false /> </highlight>
  11879.         <autoHighlight> <false /> </autoHighlight>
  11880.         <sharedHighlight> <true /> </sharedHighlight>
  11881.         <family>0</family>
  11882.         <titleWidth>0</titleWidth>
  11883.         <icon>0</icon>
  11884.         <textAlign>center</textAlign>
  11885.         <font>Geneva</font>
  11886.         <textSize>9</textSize>
  11887.         <textStyle>plain</textStyle>
  11888.         <name>dΓëÑ</name>
  11889.         <script>on mouseUp
  11890. RadioUpdate 10,15
  11891. end mouseUp</script>
  11892.     </part>
  11893.     <part>
  11894.         <id>66</id>
  11895.         <type>button</type>
  11896.         <visible> <true /> </visible>
  11897.         <reserved5> 0 </reserved5>
  11898.         <reserved4> 0 </reserved4>
  11899.         <reserved3> 0 </reserved3>
  11900.         <reserved2> 0 </reserved2>
  11901.         <reserved1> 0 </reserved1>
  11902.         <enabled> <true /> </enabled>
  11903.         <rect>
  11904.             <left>118</left>
  11905.             <top>314</top>
  11906.             <right>149</right>
  11907.             <bottom>326</bottom>
  11908.         </rect>
  11909.         <style>radiobutton</style>
  11910.         <showName> <true /> </showName>
  11911.         <highlight> <false /> </highlight>
  11912.         <autoHighlight> <false /> </autoHighlight>
  11913.         <sharedHighlight> <true /> </sharedHighlight>
  11914.         <family>0</family>
  11915.         <titleWidth>0</titleWidth>
  11916.         <icon>0</icon>
  11917.         <textAlign>center</textAlign>
  11918.         <font>Geneva</font>
  11919.         <textSize>9</textSize>
  11920.         <textStyle>plain</textStyle>
  11921.         <name>dΓëñ</name>
  11922.         <script>on mouseUp
  11923. RadioUpdate 10,15
  11924. end mouseUp</script>
  11925.     </part>
  11926.     <part>
  11927.         <id>67</id>
  11928.         <type>field</type>
  11929.         <visible> <true /> </visible>
  11930.         <dontWrap> <false /> </dontWrap>
  11931.         <dontSearch> <false /> </dontSearch>
  11932.         <sharedText> <false /> </sharedText>
  11933.         <fixedLineHeight> <true /> </fixedLineHeight>
  11934.         <autoTab> <false /> </autoTab>
  11935.         <lockText> <false /> </lockText>
  11936.         <rect>
  11937.             <left>114</left>
  11938.             <top>327</top>
  11939.             <right>154</right>
  11940.             <bottom>341</bottom>
  11941.         </rect>
  11942.         <style>opaque</style>
  11943.         <autoSelect> <false /> </autoSelect>
  11944.         <showLines> <true /> </showLines>
  11945.         <wideMargins> <false /> </wideMargins>
  11946.         <multipleLines> <false /> </multipleLines>
  11947.         <reservedFamily> 0 </reservedFamily>
  11948.         <titleWidth>0</titleWidth>
  11949.         <icon>0</icon>
  11950.         <textAlign>center</textAlign>
  11951.         <font>Geneva</font>
  11952.         <textSize>9</textSize>
  11953.         <textStyle>plain</textStyle>
  11954.         <textHeight>12</textHeight>
  11955.         <name></name>
  11956.         <script></script>
  11957.     </part>
  11958.     <part>
  11959.         <id>68</id>
  11960.         <type>field</type>
  11961.         <visible> <true /> </visible>
  11962.         <dontWrap> <false /> </dontWrap>
  11963.         <dontSearch> <false /> </dontSearch>
  11964.         <sharedText> <false /> </sharedText>
  11965.         <fixedLineHeight> <true /> </fixedLineHeight>
  11966.         <autoTab> <false /> </autoTab>
  11967.         <lockText> <false /> </lockText>
  11968.         <rect>
  11969.             <left>155</left>
  11970.             <top>327</top>
  11971.             <right>212</right>
  11972.             <bottom>341</bottom>
  11973.         </rect>
  11974.         <style>opaque</style>
  11975.         <autoSelect> <false /> </autoSelect>
  11976.         <showLines> <true /> </showLines>
  11977.         <wideMargins> <false /> </wideMargins>
  11978.         <multipleLines> <false /> </multipleLines>
  11979.         <reservedFamily> 0 </reservedFamily>
  11980.         <titleWidth>0</titleWidth>
  11981.         <icon>0</icon>
  11982.         <textAlign>center</textAlign>
  11983.         <font>Geneva</font>
  11984.         <textSize>9</textSize>
  11985.         <textStyle>plain</textStyle>
  11986.         <textHeight>12</textHeight>
  11987.         <name></name>
  11988.         <script></script>
  11989.     </part>
  11990.     <part>
  11991.         <id>69</id>
  11992.         <type>button</type>
  11993.         <visible> <true /> </visible>
  11994.         <reserved5> 0 </reserved5>
  11995.         <reserved4> 0 </reserved4>
  11996.         <reserved3> 0 </reserved3>
  11997.         <reserved2> 0 </reserved2>
  11998.         <reserved1> 0 </reserved1>
  11999.         <enabled> <true /> </enabled>
  12000.         <rect>
  12001.             <left>167</left>
  12002.             <top>254</top>
  12003.             <right>198</right>
  12004.             <bottom>266</bottom>
  12005.         </rect>
  12006.         <style>radiobutton</style>
  12007.         <showName> <true /> </showName>
  12008.         <highlight> <false /> </highlight>
  12009.         <autoHighlight> <false /> </autoHighlight>
  12010.         <sharedHighlight> <true /> </sharedHighlight>
  12011.         <family>0</family>
  12012.         <titleWidth>0</titleWidth>
  12013.         <icon>0</icon>
  12014.         <textAlign>center</textAlign>
  12015.         <font>Geneva</font>
  12016.         <textSize>9</textSize>
  12017.         <textStyle>plain</textStyle>
  12018.         <name>e=</name>
  12019.         <script>on mouseUp
  12020. RadioUpdate 16,21
  12021. end mouseUp</script>
  12022.     </part>
  12023.     <part>
  12024.         <id>70</id>
  12025.         <type>button</type>
  12026.         <visible> <true /> </visible>
  12027.         <reserved5> 0 </reserved5>
  12028.         <reserved4> 0 </reserved4>
  12029.         <reserved3> 0 </reserved3>
  12030.         <reserved2> 0 </reserved2>
  12031.         <reserved1> 0 </reserved1>
  12032.         <enabled> <true /> </enabled>
  12033.         <rect>
  12034.             <left>167</left>
  12035.             <top>266</top>
  12036.             <right>198</right>
  12037.             <bottom>278</bottom>
  12038.         </rect>
  12039.         <style>radiobutton</style>
  12040.         <showName> <true /> </showName>
  12041.         <highlight> <false /> </highlight>
  12042.         <autoHighlight> <false /> </autoHighlight>
  12043.         <sharedHighlight> <true /> </sharedHighlight>
  12044.         <family>0</family>
  12045.         <titleWidth>0</titleWidth>
  12046.         <icon>0</icon>
  12047.         <textAlign>center</textAlign>
  12048.         <font>Geneva</font>
  12049.         <textSize>9</textSize>
  12050.         <textStyle>plain</textStyle>
  12051.         <name>eΓëá</name>
  12052.         <script>on mouseUp
  12053. RadioUpdate 16,21
  12054. end mouseUp</script>
  12055.     </part>
  12056.     <part>
  12057.         <id>71</id>
  12058.         <type>button</type>
  12059.         <visible> <true /> </visible>
  12060.         <reserved5> 0 </reserved5>
  12061.         <reserved4> 0 </reserved4>
  12062.         <reserved3> 0 </reserved3>
  12063.         <reserved2> 0 </reserved2>
  12064.         <reserved1> 0 </reserved1>
  12065.         <enabled> <true /> </enabled>
  12066.         <rect>
  12067.             <left>167</left>
  12068.             <top>278</top>
  12069.             <right>198</right>
  12070.             <bottom>290</bottom>
  12071.         </rect>
  12072.         <style>radiobutton</style>
  12073.         <showName> <true /> </showName>
  12074.         <highlight> <false /> </highlight>
  12075.         <autoHighlight> <false /> </autoHighlight>
  12076.         <sharedHighlight> <true /> </sharedHighlight>
  12077.         <family>0</family>
  12078.         <titleWidth>0</titleWidth>
  12079.         <icon>0</icon>
  12080.         <textAlign>center</textAlign>
  12081.         <font>Geneva</font>
  12082.         <textSize>9</textSize>
  12083.         <textStyle>plain</textStyle>
  12084.         <name>e></name>
  12085.         <script>on mouseUp
  12086. RadioUpdate 16,21
  12087. end mouseUp</script>
  12088.     </part>
  12089.     <part>
  12090.         <id>72</id>
  12091.         <type>button</type>
  12092.         <visible> <true /> </visible>
  12093.         <reserved5> 0 </reserved5>
  12094.         <reserved4> 0 </reserved4>
  12095.         <reserved3> 0 </reserved3>
  12096.         <reserved2> 0 </reserved2>
  12097.         <reserved1> 0 </reserved1>
  12098.         <enabled> <true /> </enabled>
  12099.         <rect>
  12100.             <left>167</left>
  12101.             <top>290</top>
  12102.             <right>198</right>
  12103.             <bottom>302</bottom>
  12104.         </rect>
  12105.         <style>radiobutton</style>
  12106.         <showName> <true /> </showName>
  12107.         <highlight> <false /> </highlight>
  12108.         <autoHighlight> <false /> </autoHighlight>
  12109.         <sharedHighlight> <true /> </sharedHighlight>
  12110.         <family>0</family>
  12111.         <titleWidth>0</titleWidth>
  12112.         <icon>0</icon>
  12113.         <textAlign>center</textAlign>
  12114.         <font>Geneva</font>
  12115.         <textSize>9</textSize>
  12116.         <textStyle>plain</textStyle>
  12117.         <name>e<</name>
  12118.         <script>on mouseUp
  12119. RadioUpdate 16,21
  12120. end mouseUp</script>
  12121.     </part>
  12122.     <part>
  12123.         <id>73</id>
  12124.         <type>button</type>
  12125.         <visible> <true /> </visible>
  12126.         <reserved5> 0 </reserved5>
  12127.         <reserved4> 0 </reserved4>
  12128.         <reserved3> 0 </reserved3>
  12129.         <reserved2> 0 </reserved2>
  12130.         <reserved1> 0 </reserved1>
  12131.         <enabled> <true /> </enabled>
  12132.         <rect>
  12133.             <left>167</left>
  12134.             <top>302</top>
  12135.             <right>198</right>
  12136.             <bottom>314</bottom>
  12137.         </rect>
  12138.         <style>radiobutton</style>
  12139.         <showName> <true /> </showName>
  12140.         <highlight> <false /> </highlight>
  12141.         <autoHighlight> <false /> </autoHighlight>
  12142.         <sharedHighlight> <true /> </sharedHighlight>
  12143.         <family>0</family>
  12144.         <titleWidth>0</titleWidth>
  12145.         <icon>0</icon>
  12146.         <textAlign>center</textAlign>
  12147.         <font>Geneva</font>
  12148.         <textSize>9</textSize>
  12149.         <textStyle>plain</textStyle>
  12150.         <name>eΓëÑ</name>
  12151.         <script>on mouseUp
  12152. RadioUpdate 16,21
  12153. end mouseUp</script>
  12154.     </part>
  12155.     <part>
  12156.         <id>74</id>
  12157.         <type>button</type>
  12158.         <visible> <true /> </visible>
  12159.         <reserved5> 0 </reserved5>
  12160.         <reserved4> 0 </reserved4>
  12161.         <reserved3> 0 </reserved3>
  12162.         <reserved2> 0 </reserved2>
  12163.         <reserved1> 0 </reserved1>
  12164.         <enabled> <true /> </enabled>
  12165.         <rect>
  12166.             <left>167</left>
  12167.             <top>314</top>
  12168.             <right>198</right>
  12169.             <bottom>326</bottom>
  12170.         </rect>
  12171.         <style>radiobutton</style>
  12172.         <showName> <true /> </showName>
  12173.         <highlight> <false /> </highlight>
  12174.         <autoHighlight> <false /> </autoHighlight>
  12175.         <sharedHighlight> <true /> </sharedHighlight>
  12176.         <family>0</family>
  12177.         <titleWidth>0</titleWidth>
  12178.         <icon>0</icon>
  12179.         <textAlign>center</textAlign>
  12180.         <font>Geneva</font>
  12181.         <textSize>9</textSize>
  12182.         <textStyle>plain</textStyle>
  12183.         <name>eΓëñ</name>
  12184.         <script>on mouseUp
  12185. RadioUpdate 16,21
  12186. end mouseUp</script>
  12187.     </part>
  12188.     <part>
  12189.         <id>75</id>
  12190.         <type>field</type>
  12191.         <visible> <true /> </visible>
  12192.         <dontWrap> <false /> </dontWrap>
  12193.         <dontSearch> <false /> </dontSearch>
  12194.         <sharedText> <false /> </sharedText>
  12195.         <fixedLineHeight> <true /> </fixedLineHeight>
  12196.         <autoTab> <false /> </autoTab>
  12197.         <lockText> <false /> </lockText>
  12198.         <rect>
  12199.             <left>213</left>
  12200.             <top>327</top>
  12201.             <right>253</right>
  12202.             <bottom>341</bottom>
  12203.         </rect>
  12204.         <style>opaque</style>
  12205.         <autoSelect> <false /> </autoSelect>
  12206.         <showLines> <true /> </showLines>
  12207.         <wideMargins> <false /> </wideMargins>
  12208.         <multipleLines> <false /> </multipleLines>
  12209.         <reservedFamily> 0 </reservedFamily>
  12210.         <titleWidth>0</titleWidth>
  12211.         <icon>0</icon>
  12212.         <textAlign>center</textAlign>
  12213.         <font>Geneva</font>
  12214.         <textSize>9</textSize>
  12215.         <textStyle>plain</textStyle>
  12216.         <textHeight>12</textHeight>
  12217.         <name></name>
  12218.         <script></script>
  12219.     </part>
  12220.     <part>
  12221.         <id>76</id>
  12222.         <type>button</type>
  12223.         <visible> <true /> </visible>
  12224.         <reserved5> 0 </reserved5>
  12225.         <reserved4> 0 </reserved4>
  12226.         <reserved3> 0 </reserved3>
  12227.         <reserved2> 0 </reserved2>
  12228.         <reserved1> 0 </reserved1>
  12229.         <enabled> <true /> </enabled>
  12230.         <rect>
  12231.             <left>216</left>
  12232.             <top>254</top>
  12233.             <right>247</right>
  12234.             <bottom>266</bottom>
  12235.         </rect>
  12236.         <style>radiobutton</style>
  12237.         <showName> <true /> </showName>
  12238.         <highlight> <false /> </highlight>
  12239.         <autoHighlight> <false /> </autoHighlight>
  12240.         <sharedHighlight> <true /> </sharedHighlight>
  12241.         <family>0</family>
  12242.         <titleWidth>0</titleWidth>
  12243.         <icon>0</icon>
  12244.         <textAlign>center</textAlign>
  12245.         <font>Geneva</font>
  12246.         <textSize>9</textSize>
  12247.         <textStyle>plain</textStyle>
  12248.         <name>f=</name>
  12249.         <script>on mouseUp
  12250. RadioUpdate 22,27
  12251. end mouseUp</script>
  12252.     </part>
  12253.     <part>
  12254.         <id>77</id>
  12255.         <type>button</type>
  12256.         <visible> <true /> </visible>
  12257.         <reserved5> 0 </reserved5>
  12258.         <reserved4> 0 </reserved4>
  12259.         <reserved3> 0 </reserved3>
  12260.         <reserved2> 0 </reserved2>
  12261.         <reserved1> 0 </reserved1>
  12262.         <enabled> <true /> </enabled>
  12263.         <rect>
  12264.             <left>216</left>
  12265.             <top>266</top>
  12266.             <right>247</right>
  12267.             <bottom>278</bottom>
  12268.         </rect>
  12269.         <style>radiobutton</style>
  12270.         <showName> <true /> </showName>
  12271.         <highlight> <false /> </highlight>
  12272.         <autoHighlight> <false /> </autoHighlight>
  12273.         <sharedHighlight> <true /> </sharedHighlight>
  12274.         <family>0</family>
  12275.         <titleWidth>0</titleWidth>
  12276.         <icon>0</icon>
  12277.         <textAlign>center</textAlign>
  12278.         <font>Geneva</font>
  12279.         <textSize>9</textSize>
  12280.         <textStyle>plain</textStyle>
  12281.         <name>fΓëá</name>
  12282.         <script>on mouseUp
  12283. RadioUpdate 22,27
  12284. end mouseUp</script>
  12285.     </part>
  12286.     <part>
  12287.         <id>78</id>
  12288.         <type>button</type>
  12289.         <visible> <true /> </visible>
  12290.         <reserved5> 0 </reserved5>
  12291.         <reserved4> 0 </reserved4>
  12292.         <reserved3> 0 </reserved3>
  12293.         <reserved2> 0 </reserved2>
  12294.         <reserved1> 0 </reserved1>
  12295.         <enabled> <true /> </enabled>
  12296.         <rect>
  12297.             <left>216</left>
  12298.             <top>278</top>
  12299.             <right>247</right>
  12300.             <bottom>290</bottom>
  12301.         </rect>
  12302.         <style>radiobutton</style>
  12303.         <showName> <true /> </showName>
  12304.         <highlight> <false /> </highlight>
  12305.         <autoHighlight> <false /> </autoHighlight>
  12306.         <sharedHighlight> <true /> </sharedHighlight>
  12307.         <family>0</family>
  12308.         <titleWidth>0</titleWidth>
  12309.         <icon>0</icon>
  12310.         <textAlign>center</textAlign>
  12311.         <font>Geneva</font>
  12312.         <textSize>9</textSize>
  12313.         <textStyle>plain</textStyle>
  12314.         <name>f></name>
  12315.         <script>on mouseUp
  12316. RadioUpdate 22,27
  12317. end mouseUp</script>
  12318.     </part>
  12319.     <part>
  12320.         <id>79</id>
  12321.         <type>button</type>
  12322.         <visible> <true /> </visible>
  12323.         <reserved5> 0 </reserved5>
  12324.         <reserved4> 0 </reserved4>
  12325.         <reserved3> 0 </reserved3>
  12326.         <reserved2> 0 </reserved2>
  12327.         <reserved1> 0 </reserved1>
  12328.         <enabled> <true /> </enabled>
  12329.         <rect>
  12330.             <left>216</left>
  12331.             <top>290</top>
  12332.             <right>247</right>
  12333.             <bottom>302</bottom>
  12334.         </rect>
  12335.         <style>radiobutton</style>
  12336.         <showName> <true /> </showName>
  12337.         <highlight> <false /> </highlight>
  12338.         <autoHighlight> <false /> </autoHighlight>
  12339.         <sharedHighlight> <true /> </sharedHighlight>
  12340.         <family>0</family>
  12341.         <titleWidth>0</titleWidth>
  12342.         <icon>0</icon>
  12343.         <textAlign>center</textAlign>
  12344.         <font>Geneva</font>
  12345.         <textSize>9</textSize>
  12346.         <textStyle>plain</textStyle>
  12347.         <name>f<</name>
  12348.         <script>on mouseUp
  12349. RadioUpdate 22,27
  12350. end mouseUp</script>
  12351.     </part>
  12352.     <part>
  12353.         <id>80</id>
  12354.         <type>button</type>
  12355.         <visible> <true /> </visible>
  12356.         <reserved5> 0 </reserved5>
  12357.         <reserved4> 0 </reserved4>
  12358.         <reserved3> 0 </reserved3>
  12359.         <reserved2> 0 </reserved2>
  12360.         <reserved1> 0 </reserved1>
  12361.         <enabled> <true /> </enabled>
  12362.         <rect>
  12363.             <left>216</left>
  12364.             <top>302</top>
  12365.             <right>247</right>
  12366.             <bottom>314</bottom>
  12367.         </rect>
  12368.         <style>radiobutton</style>
  12369.         <showName> <true /> </showName>
  12370.         <highlight> <false /> </highlight>
  12371.         <autoHighlight> <false /> </autoHighlight>
  12372.         <sharedHighlight> <true /> </sharedHighlight>
  12373.         <family>0</family>
  12374.         <titleWidth>0</titleWidth>
  12375.         <icon>0</icon>
  12376.         <textAlign>center</textAlign>
  12377.         <font>Geneva</font>
  12378.         <textSize>9</textSize>
  12379.         <textStyle>plain</textStyle>
  12380.         <name>fΓëÑ</name>
  12381.         <script>on mouseUp
  12382. RadioUpdate 22,27
  12383. end mouseUp</script>
  12384.     </part>
  12385.     <part>
  12386.         <id>81</id>
  12387.         <type>button</type>
  12388.         <visible> <true /> </visible>
  12389.         <reserved5> 0 </reserved5>
  12390.         <reserved4> 0 </reserved4>
  12391.         <reserved3> 0 </reserved3>
  12392.         <reserved2> 0 </reserved2>
  12393.         <reserved1> 0 </reserved1>
  12394.         <enabled> <true /> </enabled>
  12395.         <rect>
  12396.             <left>216</left>
  12397.             <top>314</top>
  12398.             <right>247</right>
  12399.             <bottom>326</bottom>
  12400.         </rect>
  12401.         <style>radiobutton</style>
  12402.         <showName> <true /> </showName>
  12403.         <highlight> <false /> </highlight>
  12404.         <autoHighlight> <false /> </autoHighlight>
  12405.         <sharedHighlight> <true /> </sharedHighlight>
  12406.         <family>0</family>
  12407.         <titleWidth>0</titleWidth>
  12408.         <icon>0</icon>
  12409.         <textAlign>center</textAlign>
  12410.         <font>Geneva</font>
  12411.         <textSize>9</textSize>
  12412.         <textStyle>plain</textStyle>
  12413.         <name>fΓëñ</name>
  12414.         <script>on mouseUp
  12415. RadioUpdate 22,27
  12416. end mouseUp</script>
  12417.     </part>
  12418.     <part>
  12419.         <id>82</id>
  12420.         <type>field</type>
  12421.         <visible> <true /> </visible>
  12422.         <dontWrap> <false /> </dontWrap>
  12423.         <dontSearch> <false /> </dontSearch>
  12424.         <sharedText> <false /> </sharedText>
  12425.         <fixedLineHeight> <true /> </fixedLineHeight>
  12426.         <autoTab> <false /> </autoTab>
  12427.         <lockText> <false /> </lockText>
  12428.         <rect>
  12429.             <left>254</left>
  12430.             <top>327</top>
  12431.             <right>311</right>
  12432.             <bottom>341</bottom>
  12433.         </rect>
  12434.         <style>opaque</style>
  12435.         <autoSelect> <false /> </autoSelect>
  12436.         <showLines> <true /> </showLines>
  12437.         <wideMargins> <false /> </wideMargins>
  12438.         <multipleLines> <false /> </multipleLines>
  12439.         <reservedFamily> 0 </reservedFamily>
  12440.         <titleWidth>0</titleWidth>
  12441.         <icon>0</icon>
  12442.         <textAlign>center</textAlign>
  12443.         <font>Geneva</font>
  12444.         <textSize>9</textSize>
  12445.         <textStyle>plain</textStyle>
  12446.         <textHeight>12</textHeight>
  12447.         <name></name>
  12448.         <script></script>
  12449.     </part>
  12450.     <part>
  12451.         <id>83</id>
  12452.         <type>button</type>
  12453.         <visible> <true /> </visible>
  12454.         <reserved5> 0 </reserved5>
  12455.         <reserved4> 0 </reserved4>
  12456.         <reserved3> 0 </reserved3>
  12457.         <reserved2> 0 </reserved2>
  12458.         <reserved1> 0 </reserved1>
  12459.         <enabled> <true /> </enabled>
  12460.         <rect>
  12461.             <left>264</left>
  12462.             <top>254</top>
  12463.             <right>295</right>
  12464.             <bottom>266</bottom>
  12465.         </rect>
  12466.         <style>radiobutton</style>
  12467.         <showName> <true /> </showName>
  12468.         <highlight> <false /> </highlight>
  12469.         <autoHighlight> <false /> </autoHighlight>
  12470.         <sharedHighlight> <true /> </sharedHighlight>
  12471.         <family>0</family>
  12472.         <titleWidth>0</titleWidth>
  12473.         <icon>0</icon>
  12474.         <textAlign>center</textAlign>
  12475.         <font>Geneva</font>
  12476.         <textSize>9</textSize>
  12477.         <textStyle>plain</textStyle>
  12478.         <name>m=</name>
  12479.         <script>on mouseUp
  12480. RadioUpdate 28,33
  12481. end mouseUp</script>
  12482.     </part>
  12483.     <part>
  12484.         <id>84</id>
  12485.         <type>button</type>
  12486.         <visible> <true /> </visible>
  12487.         <reserved5> 0 </reserved5>
  12488.         <reserved4> 0 </reserved4>
  12489.         <reserved3> 0 </reserved3>
  12490.         <reserved2> 0 </reserved2>
  12491.         <reserved1> 0 </reserved1>
  12492.         <enabled> <true /> </enabled>
  12493.         <rect>
  12494.             <left>264</left>
  12495.             <top>266</top>
  12496.             <right>295</right>
  12497.             <bottom>278</bottom>
  12498.         </rect>
  12499.         <style>radiobutton</style>
  12500.         <showName> <true /> </showName>
  12501.         <highlight> <false /> </highlight>
  12502.         <autoHighlight> <false /> </autoHighlight>
  12503.         <sharedHighlight> <true /> </sharedHighlight>
  12504.         <family>0</family>
  12505.         <titleWidth>0</titleWidth>
  12506.         <icon>0</icon>
  12507.         <textAlign>center</textAlign>
  12508.         <font>Geneva</font>
  12509.         <textSize>9</textSize>
  12510.         <textStyle>plain</textStyle>
  12511.         <name>mΓëá</name>
  12512.         <script>on mouseUp
  12513. RadioUpdate 28,33
  12514. end mouseUp</script>
  12515.     </part>
  12516.     <part>
  12517.         <id>85</id>
  12518.         <type>button</type>
  12519.         <visible> <true /> </visible>
  12520.         <reserved5> 0 </reserved5>
  12521.         <reserved4> 0 </reserved4>
  12522.         <reserved3> 0 </reserved3>
  12523.         <reserved2> 0 </reserved2>
  12524.         <reserved1> 0 </reserved1>
  12525.         <enabled> <true /> </enabled>
  12526.         <rect>
  12527.             <left>264</left>
  12528.             <top>278</top>
  12529.             <right>295</right>
  12530.             <bottom>290</bottom>
  12531.         </rect>
  12532.         <style>radiobutton</style>
  12533.         <showName> <true /> </showName>
  12534.         <highlight> <false /> </highlight>
  12535.         <autoHighlight> <false /> </autoHighlight>
  12536.         <sharedHighlight> <true /> </sharedHighlight>
  12537.         <family>0</family>
  12538.         <titleWidth>0</titleWidth>
  12539.         <icon>0</icon>
  12540.         <textAlign>center</textAlign>
  12541.         <font>Geneva</font>
  12542.         <textSize>9</textSize>
  12543.         <textStyle>plain</textStyle>
  12544.         <name>m></name>
  12545.         <script>on mouseUp
  12546. RadioUpdate 28,33
  12547. end mouseUp</script>
  12548.     </part>
  12549.     <part>
  12550.         <id>86</id>
  12551.         <type>button</type>
  12552.         <visible> <true /> </visible>
  12553.         <reserved5> 0 </reserved5>
  12554.         <reserved4> 0 </reserved4>
  12555.         <reserved3> 0 </reserved3>
  12556.         <reserved2> 0 </reserved2>
  12557.         <reserved1> 0 </reserved1>
  12558.         <enabled> <true /> </enabled>
  12559.         <rect>
  12560.             <left>264</left>
  12561.             <top>290</top>
  12562.             <right>295</right>
  12563.             <bottom>302</bottom>
  12564.         </rect>
  12565.         <style>radiobutton</style>
  12566.         <showName> <true /> </showName>
  12567.         <highlight> <false /> </highlight>
  12568.         <autoHighlight> <false /> </autoHighlight>
  12569.         <sharedHighlight> <true /> </sharedHighlight>
  12570.         <family>0</family>
  12571.         <titleWidth>0</titleWidth>
  12572.         <icon>0</icon>
  12573.         <textAlign>center</textAlign>
  12574.         <font>Geneva</font>
  12575.         <textSize>9</textSize>
  12576.         <textStyle>plain</textStyle>
  12577.         <name>m<</name>
  12578.         <script>on mouseUp
  12579. RadioUpdate 28,33
  12580. end mouseUp</script>
  12581.     </part>
  12582.     <part>
  12583.         <id>87</id>
  12584.         <type>button</type>
  12585.         <visible> <true /> </visible>
  12586.         <reserved5> 0 </reserved5>
  12587.         <reserved4> 0 </reserved4>
  12588.         <reserved3> 0 </reserved3>
  12589.         <reserved2> 0 </reserved2>
  12590.         <reserved1> 0 </reserved1>
  12591.         <enabled> <true /> </enabled>
  12592.         <rect>
  12593.             <left>264</left>
  12594.             <top>302</top>
  12595.             <right>295</right>
  12596.             <bottom>314</bottom>
  12597.         </rect>
  12598.         <style>radiobutton</style>
  12599.         <showName> <true /> </showName>
  12600.         <highlight> <false /> </highlight>
  12601.         <autoHighlight> <false /> </autoHighlight>
  12602.         <sharedHighlight> <true /> </sharedHighlight>
  12603.         <family>0</family>
  12604.         <titleWidth>0</titleWidth>
  12605.         <icon>0</icon>
  12606.         <textAlign>center</textAlign>
  12607.         <font>Geneva</font>
  12608.         <textSize>9</textSize>
  12609.         <textStyle>plain</textStyle>
  12610.         <name>mΓëÑ</name>
  12611.         <script>on mouseUp
  12612. RadioUpdate 28,33
  12613. end mouseUp</script>
  12614.     </part>
  12615.     <part>
  12616.         <id>88</id>
  12617.         <type>button</type>
  12618.         <visible> <true /> </visible>
  12619.         <reserved5> 0 </reserved5>
  12620.         <reserved4> 0 </reserved4>
  12621.         <reserved3> 0 </reserved3>
  12622.         <reserved2> 0 </reserved2>
  12623.         <reserved1> 0 </reserved1>
  12624.         <enabled> <true /> </enabled>
  12625.         <rect>
  12626.             <left>264</left>
  12627.             <top>314</top>
  12628.             <right>295</right>
  12629.             <bottom>326</bottom>
  12630.         </rect>
  12631.         <style>radiobutton</style>
  12632.         <showName> <true /> </showName>
  12633.         <highlight> <false /> </highlight>
  12634.         <autoHighlight> <false /> </autoHighlight>
  12635.         <sharedHighlight> <true /> </sharedHighlight>
  12636.         <family>0</family>
  12637.         <titleWidth>0</titleWidth>
  12638.         <icon>0</icon>
  12639.         <textAlign>center</textAlign>
  12640.         <font>Geneva</font>
  12641.         <textSize>9</textSize>
  12642.         <textStyle>plain</textStyle>
  12643.         <name>mΓëñ</name>
  12644.         <script>on mouseUp
  12645. RadioUpdate 28,33
  12646. end mouseUp</script>
  12647.     </part>
  12648.     <part>
  12649.         <id>89</id>
  12650.         <type>button</type>
  12651.         <visible> <true /> </visible>
  12652.         <reserved5> 0 </reserved5>
  12653.         <reserved4> 0 </reserved4>
  12654.         <reserved3> 0 </reserved3>
  12655.         <reserved2> 0 </reserved2>
  12656.         <reserved1> 0 </reserved1>
  12657.         <enabled> <true /> </enabled>
  12658.         <rect>
  12659.             <left>311</left>
  12660.             <top>254</top>
  12661.             <right>329</right>
  12662.             <bottom>266</bottom>
  12663.         </rect>
  12664.         <style>radiobutton</style>
  12665.         <showName> <true /> </showName>
  12666.         <highlight> <false /> </highlight>
  12667.         <autoHighlight> <false /> </autoHighlight>
  12668.         <sharedHighlight> <true /> </sharedHighlight>
  12669.         <family>0</family>
  12670.         <titleWidth>0</titleWidth>
  12671.         <icon>0</icon>
  12672.         <textAlign>center</textAlign>
  12673.         <font>Geneva</font>
  12674.         <textSize>9</textSize>
  12675.         <textStyle>plain</textStyle>
  12676.         <name>n=</name>
  12677.         <script>on mouseUp
  12678. RadioUpdate 34,39
  12679. end mouseUp</script>
  12680.     </part>
  12681.     <part>
  12682.         <id>92</id>
  12683.         <type>field</type>
  12684.         <visible> <true /> </visible>
  12685.         <dontWrap> <false /> </dontWrap>
  12686.         <dontSearch> <false /> </dontSearch>
  12687.         <sharedText> <false /> </sharedText>
  12688.         <fixedLineHeight> <true /> </fixedLineHeight>
  12689.         <autoTab> <false /> </autoTab>
  12690.         <lockText> <false /> </lockText>
  12691.         <rect>
  12692.             <left>312</left>
  12693.             <top>327</top>
  12694.             <right>369</right>
  12695.             <bottom>341</bottom>
  12696.         </rect>
  12697.         <style>opaque</style>
  12698.         <autoSelect> <false /> </autoSelect>
  12699.         <showLines> <true /> </showLines>
  12700.         <wideMargins> <false /> </wideMargins>
  12701.         <multipleLines> <false /> </multipleLines>
  12702.         <reservedFamily> 0 </reservedFamily>
  12703.         <titleWidth>0</titleWidth>
  12704.         <icon>0</icon>
  12705.         <textAlign>center</textAlign>
  12706.         <font>Geneva</font>
  12707.         <textSize>9</textSize>
  12708.         <textStyle>plain</textStyle>
  12709.         <textHeight>12</textHeight>
  12710.         <name></name>
  12711.         <script></script>
  12712.     </part>
  12713.     <part>
  12714.         <id>93</id>
  12715.         <type>button</type>
  12716.         <visible> <true /> </visible>
  12717.         <reserved5> 0 </reserved5>
  12718.         <reserved4> 0 </reserved4>
  12719.         <reserved3> 0 </reserved3>
  12720.         <reserved2> 0 </reserved2>
  12721.         <reserved1> 0 </reserved1>
  12722.         <enabled> <true /> </enabled>
  12723.         <rect>
  12724.             <left>311</left>
  12725.             <top>266</top>
  12726.             <right>329</right>
  12727.             <bottom>278</bottom>
  12728.         </rect>
  12729.         <style>radiobutton</style>
  12730.         <showName> <true /> </showName>
  12731.         <highlight> <false /> </highlight>
  12732.         <autoHighlight> <false /> </autoHighlight>
  12733.         <sharedHighlight> <true /> </sharedHighlight>
  12734.         <family>0</family>
  12735.         <titleWidth>0</titleWidth>
  12736.         <icon>0</icon>
  12737.         <textAlign>center</textAlign>
  12738.         <font>Geneva</font>
  12739.         <textSize>9</textSize>
  12740.         <textStyle>plain</textStyle>
  12741.         <name>nΓëá</name>
  12742.         <script>on mouseUp
  12743. RadioUpdate 34,39
  12744. end mouseUp</script>
  12745.     </part>
  12746.     <part>
  12747.         <id>94</id>
  12748.         <type>button</type>
  12749.         <visible> <true /> </visible>
  12750.         <reserved5> 0 </reserved5>
  12751.         <reserved4> 0 </reserved4>
  12752.         <reserved3> 0 </reserved3>
  12753.         <reserved2> 0 </reserved2>
  12754.         <reserved1> 0 </reserved1>
  12755.         <enabled> <true /> </enabled>
  12756.         <rect>
  12757.             <left>311</left>
  12758.             <top>278</top>
  12759.             <right>329</right>
  12760.             <bottom>290</bottom>
  12761.         </rect>
  12762.         <style>radiobutton</style>
  12763.         <showName> <true /> </showName>
  12764.         <highlight> <false /> </highlight>
  12765.         <autoHighlight> <false /> </autoHighlight>
  12766.         <sharedHighlight> <true /> </sharedHighlight>
  12767.         <family>0</family>
  12768.         <titleWidth>0</titleWidth>
  12769.         <icon>0</icon>
  12770.         <textAlign>center</textAlign>
  12771.         <font>Geneva</font>
  12772.         <textSize>9</textSize>
  12773.         <textStyle>plain</textStyle>
  12774.         <name>n></name>
  12775.         <script>on mouseUp
  12776. RadioUpdate 34,39
  12777. end mouseUp</script>
  12778.     </part>
  12779.     <part>
  12780.         <id>95</id>
  12781.         <type>button</type>
  12782.         <visible> <true /> </visible>
  12783.         <reserved5> 0 </reserved5>
  12784.         <reserved4> 0 </reserved4>
  12785.         <reserved3> 0 </reserved3>
  12786.         <reserved2> 0 </reserved2>
  12787.         <reserved1> 0 </reserved1>
  12788.         <enabled> <true /> </enabled>
  12789.         <rect>
  12790.             <left>311</left>
  12791.             <top>290</top>
  12792.             <right>329</right>
  12793.             <bottom>302</bottom>
  12794.         </rect>
  12795.         <style>radiobutton</style>
  12796.         <showName> <true /> </showName>
  12797.         <highlight> <false /> </highlight>
  12798.         <autoHighlight> <false /> </autoHighlight>
  12799.         <sharedHighlight> <true /> </sharedHighlight>
  12800.         <family>0</family>
  12801.         <titleWidth>0</titleWidth>
  12802.         <icon>0</icon>
  12803.         <textAlign>center</textAlign>
  12804.         <font>Geneva</font>
  12805.         <textSize>9</textSize>
  12806.         <textStyle>plain</textStyle>
  12807.         <name>n<</name>
  12808.         <script>on mouseUp
  12809. RadioUpdate 34,39
  12810. end mouseUp</script>
  12811.     </part>
  12812.     <part>
  12813.         <id>96</id>
  12814.         <type>button</type>
  12815.         <visible> <true /> </visible>
  12816.         <reserved5> 0 </reserved5>
  12817.         <reserved4> 0 </reserved4>
  12818.         <reserved3> 0 </reserved3>
  12819.         <reserved2> 0 </reserved2>
  12820.         <reserved1> 0 </reserved1>
  12821.         <enabled> <true /> </enabled>
  12822.         <rect>
  12823.             <left>311</left>
  12824.             <top>302</top>
  12825.             <right>329</right>
  12826.             <bottom>314</bottom>
  12827.         </rect>
  12828.         <style>radiobutton</style>
  12829.         <showName> <true /> </showName>
  12830.         <highlight> <false /> </highlight>
  12831.         <autoHighlight> <false /> </autoHighlight>
  12832.         <sharedHighlight> <true /> </sharedHighlight>
  12833.         <family>0</family>
  12834.         <titleWidth>0</titleWidth>
  12835.         <icon>0</icon>
  12836.         <textAlign>center</textAlign>
  12837.         <font>Geneva</font>
  12838.         <textSize>9</textSize>
  12839.         <textStyle>plain</textStyle>
  12840.         <name>nΓëÑ</name>
  12841.         <script>on mouseUp
  12842. RadioUpdate 34,39
  12843. end mouseUp</script>
  12844.     </part>
  12845.     <part>
  12846.         <id>97</id>
  12847.         <type>button</type>
  12848.         <visible> <true /> </visible>
  12849.         <reserved5> 0 </reserved5>
  12850.         <reserved4> 0 </reserved4>
  12851.         <reserved3> 0 </reserved3>
  12852.         <reserved2> 0 </reserved2>
  12853.         <reserved1> 0 </reserved1>
  12854.         <enabled> <true /> </enabled>
  12855.         <rect>
  12856.             <left>311</left>
  12857.             <top>314</top>
  12858.             <right>329</right>
  12859.             <bottom>326</bottom>
  12860.         </rect>
  12861.         <style>radiobutton</style>
  12862.         <showName> <true /> </showName>
  12863.         <highlight> <false /> </highlight>
  12864.         <autoHighlight> <false /> </autoHighlight>
  12865.         <sharedHighlight> <true /> </sharedHighlight>
  12866.         <family>0</family>
  12867.         <titleWidth>0</titleWidth>
  12868.         <icon>0</icon>
  12869.         <textAlign>center</textAlign>
  12870.         <font>Geneva</font>
  12871.         <textSize>9</textSize>
  12872.         <textStyle>plain</textStyle>
  12873.         <name>nΓëñ</name>
  12874.         <script>on mouseUp
  12875. RadioUpdate 34,39
  12876. end mouseUp</script>
  12877.     </part>
  12878.     <part>
  12879.         <id>98</id>
  12880.         <type>field</type>
  12881.         <visible> <true /> </visible>
  12882.         <dontWrap> <false /> </dontWrap>
  12883.         <dontSearch> <false /> </dontSearch>
  12884.         <sharedText> <false /> </sharedText>
  12885.         <fixedLineHeight> <true /> </fixedLineHeight>
  12886.         <autoTab> <false /> </autoTab>
  12887.         <lockText> <false /> </lockText>
  12888.         <rect>
  12889.             <left>370</left>
  12890.             <top>327</top>
  12891.             <right>410</right>
  12892.             <bottom>341</bottom>
  12893.         </rect>
  12894.         <style>opaque</style>
  12895.         <autoSelect> <false /> </autoSelect>
  12896.         <showLines> <true /> </showLines>
  12897.         <wideMargins> <false /> </wideMargins>
  12898.         <multipleLines> <false /> </multipleLines>
  12899.         <reservedFamily> 0 </reservedFamily>
  12900.         <titleWidth>0</titleWidth>
  12901.         <icon>0</icon>
  12902.         <textAlign>center</textAlign>
  12903.         <font>Geneva</font>
  12904.         <textSize>9</textSize>
  12905.         <textStyle>plain</textStyle>
  12906.         <textHeight>12</textHeight>
  12907.         <name></name>
  12908.         <script></script>
  12909.     </part>
  12910.     <part>
  12911.         <id>99</id>
  12912.         <type>field</type>
  12913.         <visible> <true /> </visible>
  12914.         <dontWrap> <false /> </dontWrap>
  12915.         <dontSearch> <false /> </dontSearch>
  12916.         <sharedText> <false /> </sharedText>
  12917.         <fixedLineHeight> <true /> </fixedLineHeight>
  12918.         <autoTab> <false /> </autoTab>
  12919.         <lockText> <false /> </lockText>
  12920.         <rect>
  12921.             <left>411</left>
  12922.             <top>327</top>
  12923.             <right>451</right>
  12924.             <bottom>341</bottom>
  12925.         </rect>
  12926.         <style>opaque</style>
  12927.         <autoSelect> <false /> </autoSelect>
  12928.         <showLines> <true /> </showLines>
  12929.         <wideMargins> <false /> </wideMargins>
  12930.         <multipleLines> <false /> </multipleLines>
  12931.         <reservedFamily> 0 </reservedFamily>
  12932.         <titleWidth>0</titleWidth>
  12933.         <icon>0</icon>
  12934.         <textAlign>center</textAlign>
  12935.         <font>Geneva</font>
  12936.         <textSize>9</textSize>
  12937.         <textStyle>plain</textStyle>
  12938.         <textHeight>12</textHeight>
  12939.         <name></name>
  12940.         <script></script>
  12941.     </part>
  12942.     <part>
  12943.         <id>100</id>
  12944.         <type>field</type>
  12945.         <visible> <true /> </visible>
  12946.         <dontWrap> <false /> </dontWrap>
  12947.         <dontSearch> <false /> </dontSearch>
  12948.         <sharedText> <false /> </sharedText>
  12949.         <fixedLineHeight> <true /> </fixedLineHeight>
  12950.         <autoTab> <false /> </autoTab>
  12951.         <lockText> <false /> </lockText>
  12952.         <rect>
  12953.             <left>452</left>
  12954.             <top>327</top>
  12955.             <right>486</right>
  12956.             <bottom>341</bottom>
  12957.         </rect>
  12958.         <style>opaque</style>
  12959.         <autoSelect> <false /> </autoSelect>
  12960.         <showLines> <true /> </showLines>
  12961.         <wideMargins> <false /> </wideMargins>
  12962.         <multipleLines> <false /> </multipleLines>
  12963.         <reservedFamily> 0 </reservedFamily>
  12964.         <titleWidth>0</titleWidth>
  12965.         <icon>0</icon>
  12966.         <textAlign>center</textAlign>
  12967.         <font>Geneva</font>
  12968.         <textSize>9</textSize>
  12969.         <textStyle>plain</textStyle>
  12970.         <textHeight>12</textHeight>
  12971.         <name></name>
  12972.         <script></script>
  12973.     </part>
  12974.     <part>
  12975.         <id>101</id>
  12976.         <type>button</type>
  12977.         <visible> <true /> </visible>
  12978.         <reserved5> 0 </reserved5>
  12979.         <reserved4> 0 </reserved4>
  12980.         <reserved3> 0 </reserved3>
  12981.         <reserved2> 0 </reserved2>
  12982.         <reserved1> 0 </reserved1>
  12983.         <enabled> <true /> </enabled>
  12984.         <rect>
  12985.             <left>374</left>
  12986.             <top>254</top>
  12987.             <right>405</right>
  12988.             <bottom>266</bottom>
  12989.         </rect>
  12990.         <style>radiobutton</style>
  12991.         <showName> <true /> </showName>
  12992.         <highlight> <false /> </highlight>
  12993.         <autoHighlight> <false /> </autoHighlight>
  12994.         <sharedHighlight> <true /> </sharedHighlight>
  12995.         <family>0</family>
  12996.         <titleWidth>0</titleWidth>
  12997.         <icon>0</icon>
  12998.         <textAlign>center</textAlign>
  12999.         <font>Geneva</font>
  13000.         <textSize>9</textSize>
  13001.         <textStyle>plain</textStyle>
  13002.         <name>r=</name>
  13003.         <script>on mouseUp
  13004. RadioUpdate 40,45
  13005. end mouseUp</script>
  13006.     </part>
  13007.     <part>
  13008.         <id>102</id>
  13009.         <type>button</type>
  13010.         <visible> <true /> </visible>
  13011.         <reserved5> 0 </reserved5>
  13012.         <reserved4> 0 </reserved4>
  13013.         <reserved3> 0 </reserved3>
  13014.         <reserved2> 0 </reserved2>
  13015.         <reserved1> 0 </reserved1>
  13016.         <enabled> <true /> </enabled>
  13017.         <rect>
  13018.             <left>374</left>
  13019.             <top>266</top>
  13020.             <right>405</right>
  13021.             <bottom>278</bottom>
  13022.         </rect>
  13023.         <style>radiobutton</style>
  13024.         <showName> <true /> </showName>
  13025.         <highlight> <false /> </highlight>
  13026.         <autoHighlight> <false /> </autoHighlight>
  13027.         <sharedHighlight> <true /> </sharedHighlight>
  13028.         <family>0</family>
  13029.         <titleWidth>0</titleWidth>
  13030.         <icon>0</icon>
  13031.         <textAlign>center</textAlign>
  13032.         <font>Geneva</font>
  13033.         <textSize>9</textSize>
  13034.         <textStyle>plain</textStyle>
  13035.         <name>rΓëá</name>
  13036.         <script>on mouseUp
  13037. RadioUpdate 40,45
  13038. end mouseUp</script>
  13039.     </part>
  13040.     <part>
  13041.         <id>103</id>
  13042.         <type>button</type>
  13043.         <visible> <true /> </visible>
  13044.         <reserved5> 0 </reserved5>
  13045.         <reserved4> 0 </reserved4>
  13046.         <reserved3> 0 </reserved3>
  13047.         <reserved2> 0 </reserved2>
  13048.         <reserved1> 0 </reserved1>
  13049.         <enabled> <true /> </enabled>
  13050.         <rect>
  13051.             <left>374</left>
  13052.             <top>278</top>
  13053.             <right>405</right>
  13054.             <bottom>290</bottom>
  13055.         </rect>
  13056.         <style>radiobutton</style>
  13057.         <showName> <true /> </showName>
  13058.         <highlight> <false /> </highlight>
  13059.         <autoHighlight> <false /> </autoHighlight>
  13060.         <sharedHighlight> <true /> </sharedHighlight>
  13061.         <family>0</family>
  13062.         <titleWidth>0</titleWidth>
  13063.         <icon>0</icon>
  13064.         <textAlign>center</textAlign>
  13065.         <font>Geneva</font>
  13066.         <textSize>9</textSize>
  13067.         <textStyle>plain</textStyle>
  13068.         <name>r></name>
  13069.         <script>on mouseUp
  13070. RadioUpdate 40,45
  13071. end mouseUp</script>
  13072.     </part>
  13073.     <part>
  13074.         <id>104</id>
  13075.         <type>button</type>
  13076.         <visible> <true /> </visible>
  13077.         <reserved5> 0 </reserved5>
  13078.         <reserved4> 0 </reserved4>
  13079.         <reserved3> 0 </reserved3>
  13080.         <reserved2> 0 </reserved2>
  13081.         <reserved1> 0 </reserved1>
  13082.         <enabled> <true /> </enabled>
  13083.         <rect>
  13084.             <left>374</left>
  13085.             <top>290</top>
  13086.             <right>405</right>
  13087.             <bottom>302</bottom>
  13088.         </rect>
  13089.         <style>radiobutton</style>
  13090.         <showName> <true /> </showName>
  13091.         <highlight> <false /> </highlight>
  13092.         <autoHighlight> <false /> </autoHighlight>
  13093.         <sharedHighlight> <true /> </sharedHighlight>
  13094.         <family>0</family>
  13095.         <titleWidth>0</titleWidth>
  13096.         <icon>0</icon>
  13097.         <textAlign>center</textAlign>
  13098.         <font>Geneva</font>
  13099.         <textSize>9</textSize>
  13100.         <textStyle>plain</textStyle>
  13101.         <name>r<</name>
  13102.         <script>on mouseUp
  13103. RadioUpdate 40,45
  13104. end mouseUp</script>
  13105.     </part>
  13106.     <part>
  13107.         <id>105</id>
  13108.         <type>button</type>
  13109.         <visible> <true /> </visible>
  13110.         <reserved5> 0 </reserved5>
  13111.         <reserved4> 0 </reserved4>
  13112.         <reserved3> 0 </reserved3>
  13113.         <reserved2> 0 </reserved2>
  13114.         <reserved1> 0 </reserved1>
  13115.         <enabled> <true /> </enabled>
  13116.         <rect>
  13117.             <left>374</left>
  13118.             <top>302</top>
  13119.             <right>405</right>
  13120.             <bottom>314</bottom>
  13121.         </rect>
  13122.         <style>radiobutton</style>
  13123.         <showName> <true /> </showName>
  13124.         <highlight> <false /> </highlight>
  13125.         <autoHighlight> <false /> </autoHighlight>
  13126.         <sharedHighlight> <true /> </sharedHighlight>
  13127.         <family>0</family>
  13128.         <titleWidth>0</titleWidth>
  13129.         <icon>0</icon>
  13130.         <textAlign>center</textAlign>
  13131.         <font>Geneva</font>
  13132.         <textSize>9</textSize>
  13133.         <textStyle>plain</textStyle>
  13134.         <name>rΓëÑ</name>
  13135.         <script>on mouseUp
  13136. RadioUpdate 40,45
  13137. end mouseUp</script>
  13138.     </part>
  13139.     <part>
  13140.         <id>106</id>
  13141.         <type>button</type>
  13142.         <visible> <true /> </visible>
  13143.         <reserved5> 0 </reserved5>
  13144.         <reserved4> 0 </reserved4>
  13145.         <reserved3> 0 </reserved3>
  13146.         <reserved2> 0 </reserved2>
  13147.         <reserved1> 0 </reserved1>
  13148.         <enabled> <true /> </enabled>
  13149.         <rect>
  13150.             <left>374</left>
  13151.             <top>314</top>
  13152.             <right>405</right>
  13153.             <bottom>326</bottom>
  13154.         </rect>
  13155.         <style>radiobutton</style>
  13156.         <showName> <true /> </showName>
  13157.         <highlight> <false /> </highlight>
  13158.         <autoHighlight> <false /> </autoHighlight>
  13159.         <sharedHighlight> <true /> </sharedHighlight>
  13160.         <family>0</family>
  13161.         <titleWidth>0</titleWidth>
  13162.         <icon>0</icon>
  13163.         <textAlign>center</textAlign>
  13164.         <font>Geneva</font>
  13165.         <textSize>9</textSize>
  13166.         <textStyle>plain</textStyle>
  13167.         <name>rΓëñ</name>
  13168.         <script>on mouseUp
  13169. RadioUpdate 40,45
  13170. end mouseUp</script>
  13171.     </part>
  13172.     <part>
  13173.         <id>107</id>
  13174.         <type>button</type>
  13175.         <visible> <true /> </visible>
  13176.         <reserved5> 0 </reserved5>
  13177.         <reserved4> 0 </reserved4>
  13178.         <reserved3> 0 </reserved3>
  13179.         <reserved2> 0 </reserved2>
  13180.         <reserved1> 0 </reserved1>
  13181.         <enabled> <true /> </enabled>
  13182.         <rect>
  13183.             <left>416</left>
  13184.             <top>254</top>
  13185.             <right>447</right>
  13186.             <bottom>266</bottom>
  13187.         </rect>
  13188.         <style>radiobutton</style>
  13189.         <showName> <true /> </showName>
  13190.         <highlight> <false /> </highlight>
  13191.         <autoHighlight> <false /> </autoHighlight>
  13192.         <sharedHighlight> <true /> </sharedHighlight>
  13193.         <family>0</family>
  13194.         <titleWidth>0</titleWidth>
  13195.         <icon>0</icon>
  13196.         <textAlign>center</textAlign>
  13197.         <font>Geneva</font>
  13198.         <textSize>9</textSize>
  13199.         <textStyle>plain</textStyle>
  13200.         <name>s=</name>
  13201.         <script>on mouseUp
  13202. RadioUpdate 46,51
  13203. end mouseUp</script>
  13204.     </part>
  13205.     <part>
  13206.         <id>108</id>
  13207.         <type>button</type>
  13208.         <visible> <true /> </visible>
  13209.         <reserved5> 0 </reserved5>
  13210.         <reserved4> 0 </reserved4>
  13211.         <reserved3> 0 </reserved3>
  13212.         <reserved2> 0 </reserved2>
  13213.         <reserved1> 0 </reserved1>
  13214.         <enabled> <true /> </enabled>
  13215.         <rect>
  13216.             <left>416</left>
  13217.             <top>266</top>
  13218.             <right>447</right>
  13219.             <bottom>278</bottom>
  13220.         </rect>
  13221.         <style>radiobutton</style>
  13222.         <showName> <true /> </showName>
  13223.         <highlight> <false /> </highlight>
  13224.         <autoHighlight> <false /> </autoHighlight>
  13225.         <sharedHighlight> <true /> </sharedHighlight>
  13226.         <family>0</family>
  13227.         <titleWidth>0</titleWidth>
  13228.         <icon>0</icon>
  13229.         <textAlign>center</textAlign>
  13230.         <font>Geneva</font>
  13231.         <textSize>9</textSize>
  13232.         <textStyle>plain</textStyle>
  13233.         <name>sΓëá</name>
  13234.         <script>on mouseUp
  13235. RadioUpdate 46,51
  13236. end mouseUp</script>
  13237.     </part>
  13238.     <part>
  13239.         <id>109</id>
  13240.         <type>button</type>
  13241.         <visible> <true /> </visible>
  13242.         <reserved5> 0 </reserved5>
  13243.         <reserved4> 0 </reserved4>
  13244.         <reserved3> 0 </reserved3>
  13245.         <reserved2> 0 </reserved2>
  13246.         <reserved1> 0 </reserved1>
  13247.         <enabled> <true /> </enabled>
  13248.         <rect>
  13249.             <left>416</left>
  13250.             <top>278</top>
  13251.             <right>447</right>
  13252.             <bottom>290</bottom>
  13253.         </rect>
  13254.         <style>radiobutton</style>
  13255.         <showName> <true /> </showName>
  13256.         <highlight> <false /> </highlight>
  13257.         <autoHighlight> <false /> </autoHighlight>
  13258.         <sharedHighlight> <true /> </sharedHighlight>
  13259.         <family>0</family>
  13260.         <titleWidth>0</titleWidth>
  13261.         <icon>0</icon>
  13262.         <textAlign>center</textAlign>
  13263.         <font>Geneva</font>
  13264.         <textSize>9</textSize>
  13265.         <textStyle>plain</textStyle>
  13266.         <name>s></name>
  13267.         <script>on mouseUp
  13268. RadioUpdate 46,51
  13269. end mouseUp</script>
  13270.     </part>
  13271.     <part>
  13272.         <id>110</id>
  13273.         <type>button</type>
  13274.         <visible> <true /> </visible>
  13275.         <reserved5> 0 </reserved5>
  13276.         <reserved4> 0 </reserved4>
  13277.         <reserved3> 0 </reserved3>
  13278.         <reserved2> 0 </reserved2>
  13279.         <reserved1> 0 </reserved1>
  13280.         <enabled> <true /> </enabled>
  13281.         <rect>
  13282.             <left>416</left>
  13283.             <top>290</top>
  13284.             <right>447</right>
  13285.             <bottom>302</bottom>
  13286.         </rect>
  13287.         <style>radiobutton</style>
  13288.         <showName> <true /> </showName>
  13289.         <highlight> <false /> </highlight>
  13290.         <autoHighlight> <false /> </autoHighlight>
  13291.         <sharedHighlight> <true /> </sharedHighlight>
  13292.         <family>0</family>
  13293.         <titleWidth>0</titleWidth>
  13294.         <icon>0</icon>
  13295.         <textAlign>center</textAlign>
  13296.         <font>Geneva</font>
  13297.         <textSize>9</textSize>
  13298.         <textStyle>plain</textStyle>
  13299.         <name>s<</name>
  13300.         <script>on mouseUp
  13301. RadioUpdate 46,51
  13302. end mouseUp</script>
  13303.     </part>
  13304.     <part>
  13305.         <id>111</id>
  13306.         <type>button</type>
  13307.         <visible> <true /> </visible>
  13308.         <reserved5> 0 </reserved5>
  13309.         <reserved4> 0 </reserved4>
  13310.         <reserved3> 0 </reserved3>
  13311.         <reserved2> 0 </reserved2>
  13312.         <reserved1> 0 </reserved1>
  13313.         <enabled> <true /> </enabled>
  13314.         <rect>
  13315.             <left>416</left>
  13316.             <top>302</top>
  13317.             <right>447</right>
  13318.             <bottom>314</bottom>
  13319.         </rect>
  13320.         <style>radiobutton</style>
  13321.         <showName> <true /> </showName>
  13322.         <highlight> <false /> </highlight>
  13323.         <autoHighlight> <false /> </autoHighlight>
  13324.         <sharedHighlight> <true /> </sharedHighlight>
  13325.         <family>0</family>
  13326.         <titleWidth>0</titleWidth>
  13327.         <icon>0</icon>
  13328.         <textAlign>center</textAlign>
  13329.         <font>Geneva</font>
  13330.         <textSize>9</textSize>
  13331.         <textStyle>plain</textStyle>
  13332.         <name>sΓëÑ</name>
  13333.         <script>on mouseUp
  13334. RadioUpdate 46,51
  13335. end mouseUp</script>
  13336.     </part>
  13337.     <part>
  13338.         <id>112</id>
  13339.         <type>button</type>
  13340.         <visible> <true /> </visible>
  13341.         <reserved5> 0 </reserved5>
  13342.         <reserved4> 0 </reserved4>
  13343.         <reserved3> 0 </reserved3>
  13344.         <reserved2> 0 </reserved2>
  13345.         <reserved1> 0 </reserved1>
  13346.         <enabled> <true /> </enabled>
  13347.         <rect>
  13348.             <left>416</left>
  13349.             <top>314</top>
  13350.             <right>447</right>
  13351.             <bottom>326</bottom>
  13352.         </rect>
  13353.         <style>radiobutton</style>
  13354.         <showName> <true /> </showName>
  13355.         <highlight> <false /> </highlight>
  13356.         <autoHighlight> <false /> </autoHighlight>
  13357.         <sharedHighlight> <true /> </sharedHighlight>
  13358.         <family>0</family>
  13359.         <titleWidth>0</titleWidth>
  13360.         <icon>0</icon>
  13361.         <textAlign>center</textAlign>
  13362.         <font>Geneva</font>
  13363.         <textSize>9</textSize>
  13364.         <textStyle>plain</textStyle>
  13365.         <name>sΓëñ</name>
  13366.         <script>on mouseUp
  13367. RadioUpdate 46,51
  13368. end mouseUp</script>
  13369.     </part>
  13370.     <part>
  13371.         <id>113</id>
  13372.         <type>button</type>
  13373.         <visible> <true /> </visible>
  13374.         <reserved5> 0 </reserved5>
  13375.         <reserved4> 0 </reserved4>
  13376.         <reserved3> 0 </reserved3>
  13377.         <reserved2> 0 </reserved2>
  13378.         <reserved1> 0 </reserved1>
  13379.         <enabled> <true /> </enabled>
  13380.         <rect>
  13381.             <left>453</left>
  13382.             <top>254</top>
  13383.             <right>484</right>
  13384.             <bottom>266</bottom>
  13385.         </rect>
  13386.         <style>radiobutton</style>
  13387.         <showName> <true /> </showName>
  13388.         <highlight> <false /> </highlight>
  13389.         <autoHighlight> <false /> </autoHighlight>
  13390.         <sharedHighlight> <true /> </sharedHighlight>
  13391.         <family>0</family>
  13392.         <titleWidth>0</titleWidth>
  13393.         <icon>0</icon>
  13394.         <textAlign>center</textAlign>
  13395.         <font>Geneva</font>
  13396.         <textSize>9</textSize>
  13397.         <textStyle>plain</textStyle>
  13398.         <name>t=</name>
  13399.         <script>on mouseUp
  13400. RadioUpdate 52,57
  13401. end mouseUp</script>
  13402.     </part>
  13403.     <part>
  13404.         <id>114</id>
  13405.         <type>button</type>
  13406.         <visible> <true /> </visible>
  13407.         <reserved5> 0 </reserved5>
  13408.         <reserved4> 0 </reserved4>
  13409.         <reserved3> 0 </reserved3>
  13410.         <reserved2> 0 </reserved2>
  13411.         <reserved1> 0 </reserved1>
  13412.         <enabled> <true /> </enabled>
  13413.         <rect>
  13414.             <left>453</left>
  13415.             <top>266</top>
  13416.             <right>484</right>
  13417.             <bottom>278</bottom>
  13418.         </rect>
  13419.         <style>radiobutton</style>
  13420.         <showName> <true /> </showName>
  13421.         <highlight> <false /> </highlight>
  13422.         <autoHighlight> <false /> </autoHighlight>
  13423.         <sharedHighlight> <true /> </sharedHighlight>
  13424.         <family>0</family>
  13425.         <titleWidth>0</titleWidth>
  13426.         <icon>0</icon>
  13427.         <textAlign>center</textAlign>
  13428.         <font>Geneva</font>
  13429.         <textSize>9</textSize>
  13430.         <textStyle>plain</textStyle>
  13431.         <name>tΓëá</name>
  13432.         <script>on mouseUp
  13433. RadioUpdate 52,57
  13434. end mouseUp</script>
  13435.     </part>
  13436.     <part>
  13437.         <id>115</id>
  13438.         <type>button</type>
  13439.         <visible> <true /> </visible>
  13440.         <reserved5> 0 </reserved5>
  13441.         <reserved4> 0 </reserved4>
  13442.         <reserved3> 0 </reserved3>
  13443.         <reserved2> 0 </reserved2>
  13444.         <reserved1> 0 </reserved1>
  13445.         <enabled> <true /> </enabled>
  13446.         <rect>
  13447.             <left>453</left>
  13448.             <top>278</top>
  13449.             <right>484</right>
  13450.             <bottom>290</bottom>
  13451.         </rect>
  13452.         <style>radiobutton</style>
  13453.         <showName> <true /> </showName>
  13454.         <highlight> <false /> </highlight>
  13455.         <autoHighlight> <false /> </autoHighlight>
  13456.         <sharedHighlight> <true /> </sharedHighlight>
  13457.         <family>0</family>
  13458.         <titleWidth>0</titleWidth>
  13459.         <icon>0</icon>
  13460.         <textAlign>center</textAlign>
  13461.         <font>Geneva</font>
  13462.         <textSize>9</textSize>
  13463.         <textStyle>plain</textStyle>
  13464.         <name>t></name>
  13465.         <script>on mouseUp
  13466. RadioUpdate 52,57
  13467. end mouseUp</script>
  13468.     </part>
  13469.     <part>
  13470.         <id>116</id>
  13471.         <type>button</type>
  13472.         <visible> <true /> </visible>
  13473.         <reserved5> 0 </reserved5>
  13474.         <reserved4> 0 </reserved4>
  13475.         <reserved3> 0 </reserved3>
  13476.         <reserved2> 0 </reserved2>
  13477.         <reserved1> 0 </reserved1>
  13478.         <enabled> <true /> </enabled>
  13479.         <rect>
  13480.             <left>453</left>
  13481.             <top>290</top>
  13482.             <right>484</right>
  13483.             <bottom>302</bottom>
  13484.         </rect>
  13485.         <style>radiobutton</style>
  13486.         <showName> <true /> </showName>
  13487.         <highlight> <false /> </highlight>
  13488.         <autoHighlight> <false /> </autoHighlight>
  13489.         <sharedHighlight> <true /> </sharedHighlight>
  13490.         <family>0</family>
  13491.         <titleWidth>0</titleWidth>
  13492.         <icon>0</icon>
  13493.         <textAlign>center</textAlign>
  13494.         <font>Geneva</font>
  13495.         <textSize>9</textSize>
  13496.         <textStyle>plain</textStyle>
  13497.         <name>t<</name>
  13498.         <script>on mouseUp
  13499. RadioUpdate 52,57
  13500. end mouseUp</script>
  13501.     </part>
  13502.     <part>
  13503.         <id>117</id>
  13504.         <type>button</type>
  13505.         <visible> <true /> </visible>
  13506.         <reserved5> 0 </reserved5>
  13507.         <reserved4> 0 </reserved4>
  13508.         <reserved3> 0 </reserved3>
  13509.         <reserved2> 0 </reserved2>
  13510.         <reserved1> 0 </reserved1>
  13511.         <enabled> <true /> </enabled>
  13512.         <rect>
  13513.             <left>453</left>
  13514.             <top>302</top>
  13515.             <right>484</right>
  13516.             <bottom>314</bottom>
  13517.         </rect>
  13518.         <style>radiobutton</style>
  13519.         <showName> <true /> </showName>
  13520.         <highlight> <false /> </highlight>
  13521.         <autoHighlight> <false /> </autoHighlight>
  13522.         <sharedHighlight> <true /> </sharedHighlight>
  13523.         <family>0</family>
  13524.         <titleWidth>0</titleWidth>
  13525.         <icon>0</icon>
  13526.         <textAlign>center</textAlign>
  13527.         <font>Geneva</font>
  13528.         <textSize>9</textSize>
  13529.         <textStyle>plain</textStyle>
  13530.         <name>tΓëÑ</name>
  13531.         <script>on mouseUp
  13532. RadioUpdate 52,57
  13533. end mouseUp</script>
  13534.     </part>
  13535.     <part>
  13536.         <id>118</id>
  13537.         <type>button</type>
  13538.         <visible> <true /> </visible>
  13539.         <reserved5> 0 </reserved5>
  13540.         <reserved4> 0 </reserved4>
  13541.         <reserved3> 0 </reserved3>
  13542.         <reserved2> 0 </reserved2>
  13543.         <reserved1> 0 </reserved1>
  13544.         <enabled> <true /> </enabled>
  13545.         <rect>
  13546.             <left>453</left>
  13547.             <top>314</top>
  13548.             <right>484</right>
  13549.             <bottom>326</bottom>
  13550.         </rect>
  13551.         <style>radiobutton</style>
  13552.         <showName> <true /> </showName>
  13553.         <highlight> <false /> </highlight>
  13554.         <autoHighlight> <false /> </autoHighlight>
  13555.         <sharedHighlight> <true /> </sharedHighlight>
  13556.         <family>0</family>
  13557.         <titleWidth>0</titleWidth>
  13558.         <icon>0</icon>
  13559.         <textAlign>center</textAlign>
  13560.         <font>Geneva</font>
  13561.         <textSize>9</textSize>
  13562.         <textStyle>plain</textStyle>
  13563.         <name>tΓëñ</name>
  13564.         <script>on mouseUp
  13565. RadioUpdate 52,57
  13566. end mouseUp</script>
  13567.     </part>
  13568.     <part>
  13569.         <id>119</id>
  13570.         <type>field</type>
  13571.         <visible> <false /> </visible>
  13572.         <dontWrap> <false /> </dontWrap>
  13573.         <dontSearch> <false /> </dontSearch>
  13574.         <sharedText> <false /> </sharedText>
  13575.         <fixedLineHeight> <true /> </fixedLineHeight>
  13576.         <autoTab> <false /> </autoTab>
  13577.         <lockText> <true /> </lockText>
  13578.         <rect>
  13579.             <left>69</left>
  13580.             <top>63</top>
  13581.             <right>434</right>
  13582.             <bottom>234</bottom>
  13583.         </rect>
  13584.         <style>scrolling</style>
  13585.         <autoSelect> <false /> </autoSelect>
  13586.         <showLines> <false /> </showLines>
  13587.         <wideMargins> <false /> </wideMargins>
  13588.         <multipleLines> <false /> </multipleLines>
  13589.         <reservedFamily> 0 </reservedFamily>
  13590.         <titleWidth>0</titleWidth>
  13591.         <icon>0</icon>
  13592.         <textAlign>left</textAlign>
  13593.         <font>Geneva</font>
  13594.         <textSize>9</textSize>
  13595.         <textStyle>plain</textStyle>
  13596.         <textHeight>12</textHeight>
  13597.         <name>Result</name>
  13598.         <script></script>
  13599.     </part>
  13600.     <part>
  13601.         <id>120</id>
  13602.         <type>button</type>
  13603.         <visible> <false /> </visible>
  13604.         <reserved5> 0 </reserved5>
  13605.         <reserved4> 0 </reserved4>
  13606.         <reserved3> 0 </reserved3>
  13607.         <reserved2> 0 </reserved2>
  13608.         <reserved1> 0 </reserved1>
  13609.         <enabled> <true /> </enabled>
  13610.         <rect>
  13611.             <left>35</left>
  13612.             <top>63</top>
  13613.             <right>67</right>
  13614.             <bottom>88</bottom>
  13615.         </rect>
  13616.         <style>transparent</style>
  13617.         <showName> <false /> </showName>
  13618.         <highlight> <false /> </highlight>
  13619.         <autoHighlight> <true /> </autoHighlight>
  13620.         <sharedHighlight> <true /> </sharedHighlight>
  13621.         <family>0</family>
  13622.         <titleWidth>0</titleWidth>
  13623.         <icon>6720</icon>
  13624.         <textAlign>center</textAlign>
  13625.         <font>Geneva</font>
  13626.         <textSize>12</textSize>
  13627.         <textStyle>plain</textStyle>
  13628.         <name></name>
  13629.         <script>on mouseUp
  13630. hide cd fld 12
  13631. hide me
  13632. end mouseUp
  13633. </script>
  13634.     </part>
  13635.     <part>
  13636.         <id>123</id>
  13637.         <type>button</type>
  13638.         <visible> <true /> </visible>
  13639.         <reserved5> 0 </reserved5>
  13640.         <reserved4> 0 </reserved4>
  13641.         <reserved3> 0 </reserved3>
  13642.         <reserved2> 0 </reserved2>
  13643.         <reserved1> 0 </reserved1>
  13644.         <enabled> <true /> </enabled>
  13645.         <rect>
  13646.             <left>441</left>
  13647.             <top>219</top>
  13648.             <right>507</right>
  13649.             <bottom>233</bottom>
  13650.         </rect>
  13651.         <style>checkbox</style>
  13652.         <showName> <true /> </showName>
  13653.         <highlight> <true /> </highlight>
  13654.         <autoHighlight> <true /> </autoHighlight>
  13655.         <sharedHighlight> <true /> </sharedHighlight>
  13656.         <family>0</family>
  13657.         <titleWidth>0</titleWidth>
  13658.         <icon>0</icon>
  13659.         <textAlign>center</textAlign>
  13660.         <font>Geneva</font>
  13661.         <textSize>9</textSize>
  13662.         <textStyle>plain</textStyle>
  13663.         <name>Recursive</name>
  13664.         <script></script>
  13665.     </part>
  13666.     <content>
  13667.         <layer>card</layer>
  13668.         <id>1</id>
  13669.         <text>
  13670.  
  13671.                                                GetDir 1.8
  13672.  
  13673.                                         by Fr├⌐d├⌐ric RINALDI
  13674.  
  13675. Description
  13676. ----------
  13677. GetDir is an XFCN that gets the content of any volume of folder. Its numerous options allow to select precisely the needed information, and to choose the resulting values and their order.
  13678.  
  13679. Syntax
  13680. ------
  13681.    GetDir ( <"pathName"> [, <"mode"> ] [, <"filter 1">...[, <"filter N"> ] ]
  13682.  
  13683. Parameters
  13684. -----------
  13685. All parameters are not case sensitive.
  13686.  
  13687.     As usual, using "!" and "?" returns online help (resp. about and syntax).
  13688.  
  13689.    "pathName" is a string giving the pathname of the folder to explore. It cans end, or not, with a colon.
  13690.  
  13691.    "mode" is a one or two characters string giving the items type to extract and the scanning mode (recursive or not).The first char can be"F" (Files), "D" (Directories) or "A" (All). Its default value is "A". The second char, if present, must be "+", and will tell the XFCN to look into all subfolders starting from the choosen folder.
  13692.  
  13693.    "filter" is a logical expression setting a conditional filter to extract only some items of the choosen type. Many filters can be combined within the XFCN call, and are then logical-AND linked.
  13694.    Each filter is "XΓÇóValue" shaped,ΓÇó being a logical operator among (in brackets , meaning when X is n) :
  13695.  
  13696.          = : is (contains)
  13697.          Γëá : is not (doesn't contain)
  13698.          < : less than (begins with)
  13699.          > : more than (ends with)
  13700.          ΓëÑ : more or equal as (matches)
  13701.          Γëñ : less or equal as (doesn't match)
  13702.  
  13703. And the filters can be :
  13704.    "cΓÇóXXXX"      : filter by file Creator (files only).
  13705.                           XXXX is a 4 chars case sensitive string.
  13706.    "dΓÇóN"            : filter by Data fork size (files only).
  13707.                           N is a positive integer.
  13708.    "eΓÇóDATE"      : filter by crEation date.
  13709.                           DATE is a date string, understanding '/', '-' or '.' as
  13710.                           separator.
  13711.    "fΓÇóN"            : filter by number of files (Folders only).
  13712.                           N is a positive integer.
  13713.    "lΓÇóN"            : filter by logical Size (data fork + resource fork).
  13714.                           N is a positive integer.
  13715.                           Will slow down execution when used for folders.
  13716.    "mΓÇóDATE"     : filter by Modification date.
  13717.                           DATE is a date string, understanding '/', '-' or '.' as
  13718.                           separator.
  13719.    "nΓÇóNAME"      : filter by file or folder name.
  13720.                           NAME is a string to which each found item will be
  13721.                           compared. Note the special meaning of the ΓÇó operator in 
  13722.                           this case.
  13723.    "o=MASK"     : sets the output format of the extracted items.
  13724.                           MASK is a string build with c,d,e,f,m,n,p,r,s,t,v,x,y 
  13725.                           chars, each one's row giving the order of the returned
  13726.                           information. The chars are the same as filters' chars, 
  13727.                           except p (Pathname).
  13728.                           The v stands for version number. Unknown is returned if 
  13729.                           no short version value is provided in the file.
  13730.    "rΓÇóN"            : filter by Resource fork size (files only).
  13731.                           N is a positive integer.
  13732.    "sΓÇóN"            : filter by physical size (data fork + resource fork).
  13733.                           N is a positive integer. 
  13734.                           Will slow down execution when used for folders.
  13735.    "tΓÇóXXXX"       : filter by file Type.
  13736.                           XXXX is a 4 chars case sensitive string.
  13737.    "xΓÇóTIME"       : filter by creation time.
  13738.                           TIME is a string "hour:minute"
  13739.    "yΓÇóTIME"       : filter by modification time.
  13740.                           TIME is a string "hour:minute"
  13741.  
  13742. Using
  13743. -----
  13744.    The function returns a return separated list of files and/or folders. Each line is composed by comma separated informations, as defined and ordered by "o=..." filter. If no Output mask is given, the only name will be returned.
  13745.    Current disk search can be stopped by typing Cmd-. Cmd-: or Escape.
  13746.    GetDir follows international resources, this for dates or foreign characters and in input as well as in output.
  13747.    This XFCN will not hang with null-starting file names, and will replace all these CHR(0) by CHR(1) in output.
  13748.    If an error occurs, a string beginning with "Error :" will be returned. This string can take the following values :
  13749.  
  13750.      "Error : Not a valid date"
  13751.      "Error : Couln't get INTL resource"
  13752.      "Error : First char of filter param must be [c,d,e,f,l,m,n,o,r,s,t,x,y]"
  13753.      "Error : Second char of filter param must be [=,Γëá,>,<,ΓëÑ,Γëñ]"
  13754.      "Error : Missing comparison value for "XΓÇó" test"
  13755.      "Error : Bad file creator"
  13756.      "Error : Only "o=ΓǪ" allowed"
  13757.      "Error : "x" not allowed in output mask"
  13758.      "Error : Bad file type"
  13759.      "Error : Missing pathName"
  13760.      "Error : Volume not found"
  13761.      "Error : Directory not found"
  13762.      "Error : Not a directory"
  13763.  
  13764. RELEASES HISTORY
  13765. -----------------
  13766. 1.8
  13767. ΓÇó Added searching interruption feature
  13768. ΓÇó Added "=" param for online help
  13769.  
  13770. 1.7
  13771. ΓÇó Comma replaced by colon if output mask has many items
  13772.  
  13773. 1.6
  13774. ΓÇó CHR(0) are also replaced in file type & creator
  13775.  
  13776. 1.5
  13777. ΓÇó Only CHR(0) are now replaced by CHR(255) in file name
  13778.  
  13779. 1.4
  13780. ΓÇó Mofidied S filter and output to match physical size
  13781. ΓÇó Added L filter and output for logical size
  13782. ΓÇó Logical and physical size now allowed for folders
  13783. ΓÇó Fixed a bug of directory testing
  13784.  
  13785. 1.3
  13786. ΓÇó Added file version number for output mask
  13787. ΓÇó Added creation and modification time for filters and output mask
  13788. </text>
  13789.     </content>
  13790.     <content>
  13791.         <layer>card</layer>
  13792.         <id>28</id>
  13793.         <text>telecom</text>
  13794.     </content>
  13795.     <content>
  13796.         <layer>card</layer>
  13797.         <id>60</id>
  13798.         <text>XCEL</text>
  13799.     </content>
  13800.     <content>
  13801.         <layer>card</layer>
  13802.         <id>67</id>
  13803.         <text>88888</text>
  13804.     </content>
  13805.     <content>
  13806.         <layer>card</layer>
  13807.         <id>68</id>
  13808.         <text>12/12/89</text>
  13809.     </content>
  13810.     <content>
  13811.         <layer>card</layer>
  13812.         <id>92</id>
  13813.         <text>desk</text>
  13814.     </content>
  13815.     <content>
  13816.         <layer>card</layer>
  13817.         <id>99</id>
  13818.         <text>0</text>
  13819.     </content>
  13820.     <content>
  13821.         <layer>card</layer>
  13822.         <id>75</id>
  13823.         <text>0</text>
  13824.     </content>
  13825.     <content>
  13826.         <layer>card</layer>
  13827.         <id>82</id>
  13828.         <text>12/12/89</text>
  13829.     </content>
  13830.     <content>
  13831.         <layer>card</layer>
  13832.         <id>98</id>
  13833.         <text>0</text>
  13834.     </content>
  13835.     <content>
  13836.         <layer>card</layer>
  13837.         <id>100</id>
  13838.         <text>APPL</text>
  13839.     </content>
  13840.     <content>
  13841.         <layer>card</layer>
  13842.         <id>119</id>
  13843.         <text>Desktop DB,40960,12/8/91
  13844. Desktop DF,131072,12/7/91
  13845. Desktop Folder:,1601536,12/7/91
  13846. ALL.FILES,68096,11/18/91
  13847. Downloads:,460288,12/8/91
  13848. 299.12/4,58368,12/5/91
  13849. 300.12/5,53760,12/6/91
  13850. 301.12/6,32768,12/6/91
  13851. BinHqx 1.02 alias,1024,11/26/91
  13852. Colorize 3.00 ╞Æ:,13824,12/7/91
  13853. Colorize 3.0 Doc,512,5/11/91
  13854. Colorize 3.00,13312,3/24/91
  13855. CptExpand alias,1024,11/26/91
  13856. DDExpandΓäó alias,1024,11/26/91
  13857. DownLine alias,1024,12/2/91
  13858. DownLine Bad Files:,7168,12/8/91
  13859. 1.headers,2560,12/7/91
  13860. 2.headers,1536,12/8/91
  13861. 3.headers,1536,12/8/91
  13862. headers,1536,12/7/91
  13863. Flush,96256,12/8/91
  13864. ftp.list.Winter91,38400,12/7/91
  13865. LPunch Decoder 1.1 alias,1024,11/26/91
  13866. Ode to Joy,47616,12/8/91
  13867. pop files,77312,12/8/91
  13868. SitExpand alias,1024,11/26/91
  13869. UnStuffIt DeluxeΓäó alias,1024,11/26/91
  13870. WPs for Thesis,27648,12/8/91
  13871. Foyer ╞Æ:,975360,12/8/91
  13872. CarolStack,168960,12/8/91
  13873. CNS Shipper.dd,226304,12/7/91
  13874. Macintosh Memory Guide,61440,9/16/91
  13875. ΓÇóDOM:,514048,12/7/91
  13876. Christmas beeps.dd,287232,12/7/91
  13877. XMas.GIF.dd,226816,12/7/91
  13878. ΓÇótofix,4608,11/25/91
  13879. RECENT.FILES #1,10240,12/7/91
  13880. XMACARCH.all files,75264,11/18/91
  13881. XMACARCH.RECENT #1,12288,12/7/91
  13882. Icon
  13883. ,2048,11/3/91
  13884. System Folder:,593920,11/3/91
  13885. Clipboard File,1024,8/26/88
  13886. Finder,109568,10/9/90
  13887. General,14336,3/7/90
  13888. Monitors,40448,9/4/90
  13889. Silver Init,23552,6/5/91
  13890. Startup Device,2560,8/26/88
  13891. System,402432,6/1/91
  13892. Trash:,0,12/8/91
  13893. ΓÇóDisinfectant 2.5.1,190976,7/7/91
  13894. </text>
  13895.     </content>
  13896.     <name>GetDir 1.8</name>
  13897.     <script>on RadioUpdate Start,Stop
  13898. get number of the target
  13899. if (it > 3) and (hilite of btn it)
  13900. then set hilite of btn it to false
  13901. else
  13902. repeat with i=Start to Stop
  13903. do "set hilite of btn i to (i=it)"
  13904. end repeat
  13905. if it > 3
  13906. then select text of cd fld (((it-4) div 6) + 3)
  13907. end if
  13908. end RadioUpdate
  13909.  
  13910.  
  13911.  
  13912.  
  13913. on opencard
  13914. end opencard
  13915.  
  13916. on closeCard
  13917. hide cd fld 12
  13918. hide btn 58
  13919. end closeCard
  13920.  
  13921. </script>
  13922. </card>
  13923.  
  13924.  
  13925. card_24896.xml
  13926. <?xml version="1.0" encoding="utf-8" ?>
  13927. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  13928. <card>
  13929.     <id>24896</id>
  13930.     <filler1>0</filler1>
  13931.     <bitmap>BMAP_24401.pbm</bitmap>
  13932.     <cantDelete> <false /> </cantDelete>
  13933.     <showPict> <true /> </showPict>
  13934.     <dontSearch> <false /> </dontSearch>
  13935.     <owner>46925</owner>
  13936.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  13937.     <part>
  13938.         <id>1</id>
  13939.         <type>field</type>
  13940.         <visible> <true /> </visible>
  13941.         <dontWrap> <false /> </dontWrap>
  13942.         <dontSearch> <false /> </dontSearch>
  13943.         <sharedText> <false /> </sharedText>
  13944.         <fixedLineHeight> <true /> </fixedLineHeight>
  13945.         <autoTab> <false /> </autoTab>
  13946.         <lockText> <true /> </lockText>
  13947.         <rect>
  13948.             <left>69</left>
  13949.             <top>68</top>
  13950.             <right>434</right>
  13951.             <bottom>252</bottom>
  13952.         </rect>
  13953.         <style>scrolling</style>
  13954.         <autoSelect> <false /> </autoSelect>
  13955.         <showLines> <false /> </showLines>
  13956.         <wideMargins> <false /> </wideMargins>
  13957.         <multipleLines> <false /> </multipleLines>
  13958.         <reservedFamily> 0 </reservedFamily>
  13959.         <titleWidth>0</titleWidth>
  13960.         <icon>0</icon>
  13961.         <textAlign>left</textAlign>
  13962.         <font>Geneva</font>
  13963.         <textSize>9</textSize>
  13964.         <textStyle>plain</textStyle>
  13965.         <textHeight>12</textHeight>
  13966.         <name></name>
  13967.         <script></script>
  13968.     </part>
  13969.     <part>
  13970.         <id>25</id>
  13971.         <type>button</type>
  13972.         <visible> <true /> </visible>
  13973.         <reserved5> 0 </reserved5>
  13974.         <reserved4> 0 </reserved4>
  13975.         <reserved3> 0 </reserved3>
  13976.         <reserved2> 0 </reserved2>
  13977.         <reserved1> 0 </reserved1>
  13978.         <enabled> <true /> </enabled>
  13979.         <rect>
  13980.             <left>184</left>
  13981.             <top>293</top>
  13982.             <right>329</right>
  13983.             <bottom>331</bottom>
  13984.         </rect>
  13985.         <style>roundrect</style>
  13986.         <showName> <true /> </showName>
  13987.         <highlight> <false /> </highlight>
  13988.         <autoHighlight> <true /> </autoHighlight>
  13989.         <sharedHighlight> <true /> </sharedHighlight>
  13990.         <family>0</family>
  13991.         <titleWidth>0</titleWidth>
  13992.         <icon>0</icon>
  13993.         <textAlign>center</textAlign>
  13994.         <font>Geneva</font>
  13995.         <textSize>12</textSize>
  13996.         <textStyle>plain</textStyle>
  13997.         <name>GetFInfo</name>
  13998.         <script>on mouseUp
  13999. get item 2 of MacType()
  14000. delete last char of it
  14001. delete last char of it
  14002. if it < 7.0
  14003. then put 2 into FNb
  14004. else put 3 into FNb
  14005.  
  14006. get FilePath(empty,"File for infos :")
  14007. if it Γëá empty
  14008. then
  14009. put GetFInfo(it) into Temp
  14010. get the Result
  14011. if it Γëá empty
  14012. then
  14013. beep
  14014. answer it
  14015. else
  14016. put switch(Temp) into cd fld 4
  14017. show cd fld FNb
  14018. show cd fld 4
  14019. end if
  14020. end if
  14021. end mouseUp
  14022. </script>
  14023.     </part>
  14024.     <part>
  14025.         <id>29</id>
  14026.         <type>field</type>
  14027.         <visible> <false /> </visible>
  14028.         <dontWrap> <false /> </dontWrap>
  14029.         <dontSearch> <false /> </dontSearch>
  14030.         <sharedText> <false /> </sharedText>
  14031.         <fixedLineHeight> <true /> </fixedLineHeight>
  14032.         <autoTab> <false /> </autoTab>
  14033.         <lockText> <true /> </lockText>
  14034.         <rect>
  14035.             <left>165</left>
  14036.             <top>3</top>
  14037.             <right>337</right>
  14038.             <bottom>289</bottom>
  14039.         </rect>
  14040.         <style>shadow</style>
  14041.         <autoSelect> <false /> </autoSelect>
  14042.         <showLines> <true /> </showLines>
  14043.         <wideMargins> <true /> </wideMargins>
  14044.         <multipleLines> <false /> </multipleLines>
  14045.         <reservedFamily> 0 </reservedFamily>
  14046.         <titleWidth>0</titleWidth>
  14047.         <icon>0</icon>
  14048.         <textAlign>left</textAlign>
  14049.         <font>Geneva</font>
  14050.         <textSize>9</textSize>
  14051.         <textStyle>bold</textStyle>
  14052.         <textHeight>11</textHeight>
  14053.         <name></name>
  14054.         <script>on mouseUp
  14055. hideAll
  14056. end mouseUp</script>
  14057.     </part>
  14058.     <part>
  14059.         <id>34</id>
  14060.         <type>field</type>
  14061.         <visible> <false /> </visible>
  14062.         <dontWrap> <false /> </dontWrap>
  14063.         <dontSearch> <false /> </dontSearch>
  14064.         <sharedText> <false /> </sharedText>
  14065.         <fixedLineHeight> <true /> </fixedLineHeight>
  14066.         <autoTab> <false /> </autoTab>
  14067.         <lockText> <true /> </lockText>
  14068.         <rect>
  14069.             <left>165</left>
  14070.             <top>3</top>
  14071.             <right>337</right>
  14072.             <bottom>289</bottom>
  14073.         </rect>
  14074.         <style>shadow</style>
  14075.         <autoSelect> <false /> </autoSelect>
  14076.         <showLines> <true /> </showLines>
  14077.         <wideMargins> <true /> </wideMargins>
  14078.         <multipleLines> <false /> </multipleLines>
  14079.         <reservedFamily> 0 </reservedFamily>
  14080.         <titleWidth>0</titleWidth>
  14081.         <icon>0</icon>
  14082.         <textAlign>left</textAlign>
  14083.         <font>Geneva</font>
  14084.         <textSize>9</textSize>
  14085.         <textStyle>bold</textStyle>
  14086.         <textHeight>11</textHeight>
  14087.         <name></name>
  14088.         <script>on mouseUp
  14089. hideAll
  14090. end mouseUp</script>
  14091.     </part>
  14092.     <part>
  14093.         <id>35</id>
  14094.         <type>field</type>
  14095.         <visible> <false /> </visible>
  14096.         <dontWrap> <false /> </dontWrap>
  14097.         <dontSearch> <false /> </dontSearch>
  14098.         <sharedText> <false /> </sharedText>
  14099.         <fixedLineHeight> <true /> </fixedLineHeight>
  14100.         <autoTab> <false /> </autoTab>
  14101.         <lockText> <true /> </lockText>
  14102.         <rect>
  14103.             <left>258</left>
  14104.             <top>3</top>
  14105.             <right>335</right>
  14106.             <bottom>289</bottom>
  14107.         </rect>
  14108.         <style>transparent</style>
  14109.         <autoSelect> <false /> </autoSelect>
  14110.         <showLines> <true /> </showLines>
  14111.         <wideMargins> <true /> </wideMargins>
  14112.         <multipleLines> <false /> </multipleLines>
  14113.         <reservedFamily> 0 </reservedFamily>
  14114.         <titleWidth>0</titleWidth>
  14115.         <icon>0</icon>
  14116.         <textAlign>left</textAlign>
  14117.         <font>Geneva</font>
  14118.         <textSize>9</textSize>
  14119.         <textStyle>plain</textStyle>
  14120.         <textHeight>11</textHeight>
  14121.         <name></name>
  14122.         <script>on mouseUp
  14123. hideAll
  14124. end mouseUp</script>
  14125.     </part>
  14126.     <part>
  14127.         <id>37</id>
  14128.         <type>button</type>
  14129.         <visible> <false /> </visible>
  14130.         <reserved5> 0 </reserved5>
  14131.         <reserved4> 0 </reserved4>
  14132.         <reserved3> 0 </reserved3>
  14133.         <reserved2> 0 </reserved2>
  14134.         <reserved1> 0 </reserved1>
  14135.         <enabled> <true /> </enabled>
  14136.         <rect>
  14137.             <left>451</left>
  14138.             <top>5</top>
  14139.             <right>506</right>
  14140.             <bottom>55</bottom>
  14141.         </rect>
  14142.         <style>rectangle</style>
  14143.         <showName> <true /> </showName>
  14144.         <highlight> <false /> </highlight>
  14145.         <autoHighlight> <true /> </autoHighlight>
  14146.         <sharedHighlight> <true /> </sharedHighlight>
  14147.         <family>0</family>
  14148.         <titleWidth>0</titleWidth>
  14149.         <icon>27056</icon>
  14150.         <textAlign>center</textAlign>
  14151.         <font>Chicago</font>
  14152.         <textSize>12</textSize>
  14153.         <textStyle>plain</textStyle>
  14154.         <name>X-Index</name>
  14155.         <script>on mouseUp
  14156. doIndex
  14157. end mouseUp
  14158.  
  14159. </script>
  14160.     </part>
  14161.     <content>
  14162.         <layer>card</layer>
  14163.         <id>1</id>
  14164.         <text>
  14165.                                               GetFInfo 1.1
  14166.  
  14167.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  14168.  
  14169.  
  14170. DESCRIPTION
  14171. ------------
  14172.   GetFInfo is an XFCN returning a list of Finder informations for a file.
  14173.  
  14174.  
  14175. SYNTAX
  14176. -------
  14177.              GetFileInfo <file path or name>[,"DontResolveAlias"]
  14178.  
  14179.  
  14180. PARAMETERS
  14181. ------------
  14182.    <file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  14183.  
  14184.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  14185.  
  14186.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  14187.  
  14188. USING
  14189. -----
  14190.    The returned list contains the following 23 items :
  14191.  
  14192.   1) type
  14193.   2) creator
  14194.   3) creation date (short format)
  14195.   4) creation time
  14196.   5) modification date (short format)
  14197.   6) modification time
  14198.   7) total size in bytes
  14199.   8) data fork size in bytes
  14200.   9) resource fork size in bytes
  14201.  
  14202. then 16 booleans values corresponding to the file flags (depending on System version):
  14203.  
  14204.       System 6.0                                    System 7.0
  14205.  
  14206. 10) onDesk                                           on Desk
  14207. 11) bFOwnAppl                                     color 1
  14208. 12) r├⌐serv├⌐                                         color 2
  14209. 13) r├⌐serv├⌐                                         color 3
  14210. 14) bfNever (never switch launch)       colorReserved
  14211. 15) bfAlways (always switch launch)   requiresSwitchLaunch
  14212. 16) shareable application                     isShared
  14213. 17) r├⌐serv├⌐                                         hasNoINITs
  14214. 18) Inited                                            hasBeenInited
  14215. 19) Changed                                         Reserved
  14216. 20) Busy                                             hasCustomIcon
  14217. 21) NoCopy                                         isStationery
  14218. 22) System                                         nameLocked
  14219. 23) hasBundle                                      hasBundle
  14220. 24) Invisible                                        isInvisible
  14221. 25) Locked                                          isAlias
  14222.  
  14223.    If an error occurs, the XFCN will return :
  14224.  
  14225.      "Error : Not a file"
  14226.      "Error : Not a folder"
  14227.      "Error : Alias file not supported"
  14228.      "Error : Volume not found"
  14229.      "Error : Bad Name"
  14230.      "Error : File not found"
  14231.      "Error : Folder not found"
  14232.      "Error : File is busy"
  14233.      "Error : I/O Error"
  14234.      "Error : Folder is full"
  14235.      "Error : Volume is locked"
  14236.      "Error : No resource fork"
  14237.      "Error : Duplicate file/folder name"
  14238.      "Error : Moving whole volume not allowed"
  14239.      "Error : Not an AppleShare volume"
  14240.      "Error : AppleShare insufficient privileges"
  14241.      "Error : Couln't get INTL resource"
  14242.      "Error : Missing or empty parameter(s)"
  14243.      "Error : Second param can only be "DontResolveAlias"
  14244.  
  14245.  
  14246. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.) and Switch XFCN (┬⌐ F. Rinaldi).
  14247.  
  14248. HISTORY
  14249. --------
  14250. 1.1 :                                                                                          08/04/91
  14251. ΓÇó Added support for System 7.0 alias files
  14252. ΓÇó General enhancement of the code
  14253. ΓÇó Added "DontResolveAlias" parameter
  14254. ---------------------------------------------------------------------
  14255. ΓÇó Added "=" param for online help
  14256. </text>
  14257.     </content>
  14258.     <content>
  14259.         <layer>card</layer>
  14260.         <id>29</id>
  14261.         <text>type
  14262. creator
  14263. date cr├⌐ation
  14264. heure cr├⌐ation
  14265. date modif.
  14266. heure modif.
  14267. taille
  14268. data fork
  14269. resource fork
  14270. onDesk
  14271. bFOwnAppl
  14272. réservé
  14273. réservé
  14274. bfNever
  14275. bfAlways
  14276. shareable
  14277. réservé
  14278. Inited
  14279. Changed
  14280. Busy
  14281. NoCopy
  14282. System
  14283. hasBundle
  14284. Invisible
  14285. Locked
  14286.  
  14287. </text>
  14288.     </content>
  14289.     <content>
  14290.         <layer>card</layer>
  14291.         <id>34</id>
  14292.         <text>type
  14293. creator
  14294. date cr├⌐ation
  14295. heure cr├⌐ation
  14296. date modif.
  14297. heure modif.
  14298. taille
  14299. data fork
  14300. resource fork
  14301. on Desk
  14302. color 1
  14303. color 2
  14304. color 3
  14305. colorReserved
  14306. requiresSwitchL
  14307. isShared
  14308. hasNoINITs
  14309. hasBeenInited
  14310. Reserved
  14311. hasCustomIcon
  14312. isStationery
  14313. nameLocked
  14314. hasBundle
  14315. isInvisible
  14316. isAlias
  14317. </text>
  14318.     </content>
  14319.     <content>
  14320.         <layer>card</layer>
  14321.         <id>35</id>
  14322.         <text>STAK
  14323. WILD
  14324. 02/03/1989
  14325. 15:04:12
  14326. 05/08/1991
  14327. 14:28:28
  14328. 39818
  14329. 24576
  14330. 15242
  14331. false
  14332. false
  14333. false
  14334. false
  14335. false
  14336. false
  14337. false
  14338. false
  14339. true
  14340. false
  14341. false
  14342. false
  14343. false
  14344. false
  14345. false
  14346. false</text>
  14347.     </content>
  14348.     <name>GetFInfo 1.1</name>
  14349.     <script>
  14350.  
  14351.  
  14352.  
  14353. on opencard
  14354. end opencard
  14355.  
  14356. on closeCard
  14357. hideAll
  14358. end closeCard
  14359.  
  14360.  
  14361. </script>
  14362. </card>
  14363.  
  14364.  
  14365. card_49343.xml
  14366. <?xml version="1.0" encoding="utf-8" ?>
  14367. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  14368. <card>
  14369.     <id>49343</id>
  14370.     <filler1>0</filler1>
  14371.     <bitmap>BMAP_45976.pbm</bitmap>
  14372.     <cantDelete> <false /> </cantDelete>
  14373.     <showPict> <true /> </showPict>
  14374.     <dontSearch> <false /> </dontSearch>
  14375.     <owner>46925</owner>
  14376.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  14377.     <part>
  14378.         <id>1</id>
  14379.         <type>field</type>
  14380.         <visible> <true /> </visible>
  14381.         <dontWrap> <false /> </dontWrap>
  14382.         <dontSearch> <false /> </dontSearch>
  14383.         <sharedText> <false /> </sharedText>
  14384.         <fixedLineHeight> <true /> </fixedLineHeight>
  14385.         <autoTab> <false /> </autoTab>
  14386.         <lockText> <true /> </lockText>
  14387.         <rect>
  14388.             <left>69</left>
  14389.             <top>68</top>
  14390.             <right>434</right>
  14391.             <bottom>252</bottom>
  14392.         </rect>
  14393.         <style>scrolling</style>
  14394.         <autoSelect> <false /> </autoSelect>
  14395.         <showLines> <false /> </showLines>
  14396.         <wideMargins> <false /> </wideMargins>
  14397.         <multipleLines> <false /> </multipleLines>
  14398.         <reservedFamily> 0 </reservedFamily>
  14399.         <titleWidth>0</titleWidth>
  14400.         <icon>0</icon>
  14401.         <textAlign>left</textAlign>
  14402.         <font>Geneva</font>
  14403.         <textSize>9</textSize>
  14404.         <textStyle>plain</textStyle>
  14405.         <textHeight>12</textHeight>
  14406.         <name></name>
  14407.         <script></script>
  14408.     </part>
  14409.     <part>
  14410.         <id>29</id>
  14411.         <type>button</type>
  14412.         <visible> <true /> </visible>
  14413.         <reserved5> 0 </reserved5>
  14414.         <reserved4> 0 </reserved4>
  14415.         <reserved3> 0 </reserved3>
  14416.         <reserved2> 0 </reserved2>
  14417.         <reserved1> 0 </reserved1>
  14418.         <enabled> <true /> </enabled>
  14419.         <rect>
  14420.             <left>174</left>
  14421.             <top>281</top>
  14422.             <right>343</right>
  14423.             <bottom>311</bottom>
  14424.         </rect>
  14425.         <style>roundrect</style>
  14426.         <showName> <true /> </showName>
  14427.         <highlight> <false /> </highlight>
  14428.         <autoHighlight> <true /> </autoHighlight>
  14429.         <sharedHighlight> <true /> </sharedHighlight>
  14430.         <family>0</family>
  14431.         <titleWidth>0</titleWidth>
  14432.         <icon>0</icon>
  14433.         <textAlign>center</textAlign>
  14434.         <font>Geneva</font>
  14435.         <textSize>12</textSize>
  14436.         <textStyle>plain</textStyle>
  14437.         <name>GetIcon</name>
  14438.         <script>on mouseUp
  14439. ask "ΓÇ£Creator,TypeΓÇ¥ or pathName :" with "WILD,STAK"
  14440. if it is empty then exit mouseUp
  14441.  
  14442. GetIcon it
  14443.  
  14444. get the result
  14445. if first word of it is "Error"
  14446. then beep
  14447. answer it
  14448. end mouseUp
  14449. </script>
  14450.     </part>
  14451.     <content>
  14452.         <layer>card</layer>
  14453.         <id>1</id>
  14454.         <text>
  14455.  
  14456.                                                GetIcon 1.0
  14457.  
  14458.                                          by Fr├⌐d├⌐ric RINALDI
  14459.  
  14460.  
  14461. DESCRIPTION
  14462. ------------
  14463.   GetIcon allows to add in teh current stack an ICON resource coming from the Desktop file. It requires System 7.
  14464.  
  14465.  
  14466. SYNTAX
  14467. -------
  14468.       GetTheIcon(<file "creator,type" or pathName>[,<volume name>])
  14469.  
  14470.  
  14471. PARAMETERS
  14472. ------------
  14473.    <file "creator,type" or pathName> can be a two items string built with file creator & type, or the full pathname of a file.
  14474.  
  14475.    <volume name> is optional, and allows to define the volume from where the ICON has to come from. Default scans all mounted volumes.
  14476.  
  14477.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  14478.  
  14479.  
  14480. USING
  14481. ------
  14482.    The XCMD creates an ICON resource in the current stack with random ID and name built with file creator & type.
  14483.  
  14484.    If the resource already exists, the XCMD simply returns its info without creating another one.
  14485.  
  14486.    If the icon is found, the XCMD return a two items string with resource name & ID.
  14487.  
  14488.  
  14489. ERRORS
  14490. -------
  14491. If an error occurs, the XCMD can return :
  14492.      "Error : GetIcon requires System 7"
  14493.      "Error : Missing or empty parameter"
  14494.      "Error : Out of memory"
  14495.      "Error : Couldn't add resource"
  14496.      "Error : Entry not found"
  14497.      "Error : Not a file"
  14498.      "Error : Alias file not supported"
  14499.      "Error : Volume not found"
  14500.      "Error : Bad Name"
  14501.      "Error : File not found"
  14502.      "Error : Folder not found"
  14503.      "Error : I/O Error"
  14504.      "Error : Volume is full"
  14505.      "Error : Volume is locked"
  14506.      "Error : Couln't create copy buffer"
  14507.  
  14508.  
  14509. HISTORY
  14510. --------
  14511. 1.0                                                                                            03/13/92
  14512. ΓÇó First release
  14513. </text>
  14514.     </content>
  14515.     <name></name>
  14516.     <script></script>
  14517. </card>
  14518.  
  14519.  
  14520. card_25348.xml
  14521. <?xml version="1.0" encoding="utf-8" ?>
  14522. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  14523. <card>
  14524.     <id>25348</id>
  14525.     <filler1>0</filler1>
  14526.     <bitmap>BMAP_25267.pbm</bitmap>
  14527.     <cantDelete> <false /> </cantDelete>
  14528.     <showPict> <true /> </showPict>
  14529.     <dontSearch> <false /> </dontSearch>
  14530.     <owner>46925</owner>
  14531.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  14532.     <part>
  14533.         <id>1</id>
  14534.         <type>field</type>
  14535.         <visible> <true /> </visible>
  14536.         <dontWrap> <false /> </dontWrap>
  14537.         <dontSearch> <false /> </dontSearch>
  14538.         <sharedText> <false /> </sharedText>
  14539.         <fixedLineHeight> <true /> </fixedLineHeight>
  14540.         <autoTab> <false /> </autoTab>
  14541.         <lockText> <true /> </lockText>
  14542.         <rect>
  14543.             <left>69</left>
  14544.             <top>68</top>
  14545.             <right>434</right>
  14546.             <bottom>252</bottom>
  14547.         </rect>
  14548.         <style>scrolling</style>
  14549.         <autoSelect> <false /> </autoSelect>
  14550.         <showLines> <false /> </showLines>
  14551.         <wideMargins> <false /> </wideMargins>
  14552.         <multipleLines> <false /> </multipleLines>
  14553.         <reservedFamily> 0 </reservedFamily>
  14554.         <titleWidth>0</titleWidth>
  14555.         <icon>0</icon>
  14556.         <textAlign>left</textAlign>
  14557.         <font>Geneva</font>
  14558.         <textSize>9</textSize>
  14559.         <textStyle>plain</textStyle>
  14560.         <textHeight>12</textHeight>
  14561.         <name></name>
  14562.         <script></script>
  14563.     </part>
  14564.     <part>
  14565.         <id>22</id>
  14566.         <type>button</type>
  14567.         <visible> <false /> </visible>
  14568.         <reserved5> 0 </reserved5>
  14569.         <reserved4> 0 </reserved4>
  14570.         <reserved3> 0 </reserved3>
  14571.         <reserved2> 0 </reserved2>
  14572.         <reserved1> 0 </reserved1>
  14573.         <enabled> <true /> </enabled>
  14574.         <rect>
  14575.             <left>0</left>
  14576.             <top>326</top>
  14577.             <right>18</right>
  14578.             <bottom>342</bottom>
  14579.         </rect>
  14580.         <style>checkbox</style>
  14581.         <showName> <false /> </showName>
  14582.         <highlight> <false /> </highlight>
  14583.         <autoHighlight> <true /> </autoHighlight>
  14584.         <sharedHighlight> <true /> </sharedHighlight>
  14585.         <family>0</family>
  14586.         <titleWidth>0</titleWidth>
  14587.         <icon>0</icon>
  14588.         <textAlign>center</textAlign>
  14589.         <font>Geneva</font>
  14590.         <textSize>12</textSize>
  14591.         <textStyle>plain</textStyle>
  14592.         <name></name>
  14593.         <script></script>
  14594.     </part>
  14595.     <part>
  14596.         <id>25</id>
  14597.         <type>button</type>
  14598.         <visible> <true /> </visible>
  14599.         <reserved5> 0 </reserved5>
  14600.         <reserved4> 0 </reserved4>
  14601.         <reserved3> 0 </reserved3>
  14602.         <reserved2> 0 </reserved2>
  14603.         <reserved1> 0 </reserved1>
  14604.         <enabled> <true /> </enabled>
  14605.         <rect>
  14606.             <left>209</left>
  14607.             <top>278</top>
  14608.             <right>335</right>
  14609.             <bottom>318</bottom>
  14610.         </rect>
  14611.         <style>roundrect</style>
  14612.         <showName> <true /> </showName>
  14613.         <highlight> <false /> </highlight>
  14614.         <autoHighlight> <true /> </autoHighlight>
  14615.         <sharedHighlight> <true /> </sharedHighlight>
  14616.         <family>0</family>
  14617.         <titleWidth>0</titleWidth>
  14618.         <icon>0</icon>
  14619.         <textAlign>center</textAlign>
  14620.         <font>Geneva</font>
  14621.         <textSize>12</textSize>
  14622.         <textStyle>plain</textStyle>
  14623.         <name>GetMode</name>
  14624.         <script>on mouseUp
  14625. get GetMode()
  14626. if first word of it is "Error"
  14627. then answer it
  14628. else
  14629. put it into cd fld 2
  14630. show cd fld 2
  14631. end if
  14632. end mouseUp
  14633. </script>
  14634.     </part>
  14635.     <part>
  14636.         <id>26</id>
  14637.         <type>field</type>
  14638.         <visible> <true /> </visible>
  14639.         <dontWrap> <false /> </dontWrap>
  14640.         <dontSearch> <false /> </dontSearch>
  14641.         <sharedText> <false /> </sharedText>
  14642.         <fixedLineHeight> <true /> </fixedLineHeight>
  14643.         <autoTab> <false /> </autoTab>
  14644.         <lockText> <true /> </lockText>
  14645.         <rect>
  14646.             <left>167</left>
  14647.             <top>92</top>
  14648.             <right>332</right>
  14649.             <bottom>231</bottom>
  14650.         </rect>
  14651.         <style>shadow</style>
  14652.         <autoSelect> <false /> </autoSelect>
  14653.         <showLines> <false /> </showLines>
  14654.         <wideMargins> <true /> </wideMargins>
  14655.         <multipleLines> <false /> </multipleLines>
  14656.         <reservedFamily> 0 </reservedFamily>
  14657.         <titleWidth>0</titleWidth>
  14658.         <icon>0</icon>
  14659.         <textAlign>left</textAlign>
  14660.         <font>Geneva</font>
  14661.         <textSize>12</textSize>
  14662.         <textStyle>plain</textStyle>
  14663.         <textHeight>16</textHeight>
  14664.         <name></name>
  14665.         <script>on mouseUp
  14666. hide me
  14667. end mouseUP</script>
  14668.     </part>
  14669.     <content>
  14670.         <layer>card</layer>
  14671.         <id>1</id>
  14672.         <text>
  14673.  
  14674.                                              GetMode 1.3
  14675.  
  14676.                                         by Fr├⌐d├⌐ric RINALDI
  14677.  
  14678.  
  14679. DESCRIPTION
  14680. ------------
  14681.   GetMode is an XFCN allowing to get the screen(s)' video mode and depth.
  14682.  
  14683.  
  14684. SYNTAX
  14685. -------
  14686.                                                 GetMode ( )
  14687.  
  14688. PARAMETERS
  14689. ------------
  14690.    No parameter needed, but using "!" and "?" parameter will return an online help (resp. copyright and syntax).
  14691.  
  14692. USING
  14693. -----
  14694.   The XFCN returns a one or many lines string, each one corresponding to one available screen. Each line contains a 5 or 7 items (depending on the System in use) :
  14695.  
  14696.      <B|C>,<1|2|4|8|32>,<screen nb>,<B|C>,<1|2|4|8|32>,<width>,<height>
  14697.      +---------------+----------+-----------------+--------------+
  14698.         current video                          maximum values      screen size
  14699.                                                  (only with System 6.0.5)
  14700.  
  14701. If an error occurs, the XFCN can return :
  14702.      "Error : Couln't get SysEnvirons"
  14703.      "Error : Color QuickDraw not found"
  14704. </text>
  14705.     </content>
  14706.     <content>
  14707.         <layer>card</layer>
  14708.         <id>26</id>
  14709.         <text>C,8,1,C,8,640,480</text>
  14710.     </content>
  14711.     <name>GetMode 1.3</name>
  14712.     <script>
  14713.  
  14714.  
  14715.  
  14716. on opencard
  14717. end opencard
  14718.  
  14719. on closeCard
  14720. end closeCard
  14721.  
  14722. </script>
  14723. </card>
  14724.  
  14725.  
  14726. card_26003.xml
  14727. <?xml version="1.0" encoding="utf-8" ?>
  14728. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  14729. <card>
  14730.     <id>26003</id>
  14731.     <filler1>0</filler1>
  14732.     <bitmap>BMAP_26151.pbm</bitmap>
  14733.     <cantDelete> <false /> </cantDelete>
  14734.     <showPict> <true /> </showPict>
  14735.     <dontSearch> <false /> </dontSearch>
  14736.     <owner>46925</owner>
  14737.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  14738.     <part>
  14739.         <id>1</id>
  14740.         <type>field</type>
  14741.         <visible> <true /> </visible>
  14742.         <dontWrap> <false /> </dontWrap>
  14743.         <dontSearch> <false /> </dontSearch>
  14744.         <sharedText> <false /> </sharedText>
  14745.         <fixedLineHeight> <true /> </fixedLineHeight>
  14746.         <autoTab> <false /> </autoTab>
  14747.         <lockText> <true /> </lockText>
  14748.         <rect>
  14749.             <left>69</left>
  14750.             <top>68</top>
  14751.             <right>434</right>
  14752.             <bottom>252</bottom>
  14753.         </rect>
  14754.         <style>scrolling</style>
  14755.         <autoSelect> <false /> </autoSelect>
  14756.         <showLines> <false /> </showLines>
  14757.         <wideMargins> <false /> </wideMargins>
  14758.         <multipleLines> <false /> </multipleLines>
  14759.         <reservedFamily> 0 </reservedFamily>
  14760.         <titleWidth>0</titleWidth>
  14761.         <icon>0</icon>
  14762.         <textAlign>left</textAlign>
  14763.         <font>Geneva</font>
  14764.         <textSize>9</textSize>
  14765.         <textStyle>plain</textStyle>
  14766.         <textHeight>12</textHeight>
  14767.         <name></name>
  14768.         <script></script>
  14769.     </part>
  14770.     <part>
  14771.         <id>25</id>
  14772.         <type>button</type>
  14773.         <visible> <true /> </visible>
  14774.         <reserved5> 0 </reserved5>
  14775.         <reserved4> 0 </reserved4>
  14776.         <reserved3> 0 </reserved3>
  14777.         <reserved2> 0 </reserved2>
  14778.         <reserved1> 0 </reserved1>
  14779.         <enabled> <true /> </enabled>
  14780.         <rect>
  14781.             <left>201</left>
  14782.             <top>278</top>
  14783.             <right>346</right>
  14784.             <bottom>316</bottom>
  14785.         </rect>
  14786.         <style>roundrect</style>
  14787.         <showName> <true /> </showName>
  14788.         <highlight> <false /> </highlight>
  14789.         <autoHighlight> <true /> </autoHighlight>
  14790.         <sharedHighlight> <true /> </sharedHighlight>
  14791.         <family>0</family>
  14792.         <titleWidth>0</titleWidth>
  14793.         <icon>0</icon>
  14794.         <textAlign>center</textAlign>
  14795.         <font>Geneva</font>
  14796.         <textSize>12</textSize>
  14797.         <textStyle>plain</textStyle>
  14798.         <name>GetPassword</name>
  14799.         <script>on mouseUp
  14800. get GetPassWord()
  14801. if it Γëá empty
  14802. then answer "Result :" && it
  14803. else answer "You cancelled"
  14804. end mouseUp
  14805. </script>
  14806.     </part>
  14807.     <content>
  14808.         <layer>card</layer>
  14809.         <id>1</id>
  14810.         <text>
  14811.                                             GetPassword 1.3
  14812.  
  14813.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  14814.  
  14815.  
  14816. DESCRIPTION
  14817. ------------
  14818.   GetPassword is a XFCN allowing to type a hidden password in a dialog.
  14819.  
  14820.  
  14821. SYNTAX
  14822. -------
  14823.                                    GetPassword ([<prompt>])
  14824.  
  14825.  
  14826. PARAMETERS
  14827. ------------
  14828.  
  14829.    Prompt is a string that will appear in the dialog. Default value is :
  14830.  
  14831.                                     "Please enter password :"
  14832.  
  14833.    Using "!" and "?" parameter will return an online help (resp. copyright and syntax).
  14834.  
  14835.  
  14836. USING
  14837. -----
  14838.    The returned value is an integer value corresponding to the encrypted input. The dialog is centered on the card, and typing is hidden with bullets in it.
  14839.    Almost one char must be typed before validating. An empty string is returned if cancelled.
  14840.  
  14841. If an error occurs, this value can be :
  14842.  
  14843.                  "Error : Ask dialog not found"
  14844.  
  14845.  
  14846. HISTORY
  14847. --------
  14848. 1.3 :                                                                                          09/09/91
  14849. ΓÇó Fixed to be SuperCard compatible
  14850.  
  14851. 1.1 :
  14852. ΓÇó Use notification manager for HC 2.0
  14853. </text>
  14854.     </content>
  14855.     <name>GetPassword 1.3</name>
  14856.     <script>
  14857.  
  14858.  
  14859.  
  14860. on opencard
  14861. end opencard
  14862.  
  14863. on closeCard
  14864. end closeCard
  14865.  
  14866. </script>
  14867. </card>
  14868.  
  14869.  
  14870. card_26518.xml
  14871. <?xml version="1.0" encoding="utf-8" ?>
  14872. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  14873. <card>
  14874.     <id>26518</id>
  14875.     <filler1>0</filler1>
  14876.     <bitmap>BMAP_26839.pbm</bitmap>
  14877.     <cantDelete> <false /> </cantDelete>
  14878.     <showPict> <true /> </showPict>
  14879.     <dontSearch> <false /> </dontSearch>
  14880.     <owner>46925</owner>
  14881.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  14882.     <part>
  14883.         <id>1</id>
  14884.         <type>field</type>
  14885.         <visible> <true /> </visible>
  14886.         <dontWrap> <false /> </dontWrap>
  14887.         <dontSearch> <false /> </dontSearch>
  14888.         <sharedText> <false /> </sharedText>
  14889.         <fixedLineHeight> <true /> </fixedLineHeight>
  14890.         <autoTab> <false /> </autoTab>
  14891.         <lockText> <true /> </lockText>
  14892.         <rect>
  14893.             <left>69</left>
  14894.             <top>68</top>
  14895.             <right>434</right>
  14896.             <bottom>252</bottom>
  14897.         </rect>
  14898.         <style>scrolling</style>
  14899.         <autoSelect> <false /> </autoSelect>
  14900.         <showLines> <false /> </showLines>
  14901.         <wideMargins> <false /> </wideMargins>
  14902.         <multipleLines> <false /> </multipleLines>
  14903.         <reservedFamily> 0 </reservedFamily>
  14904.         <titleWidth>0</titleWidth>
  14905.         <icon>0</icon>
  14906.         <textAlign>left</textAlign>
  14907.         <font>Geneva</font>
  14908.         <textSize>9</textSize>
  14909.         <textStyle>plain</textStyle>
  14910.         <textHeight>12</textHeight>
  14911.         <name></name>
  14912.         <script></script>
  14913.     </part>
  14914.     <part>
  14915.         <id>25</id>
  14916.         <type>button</type>
  14917.         <visible> <true /> </visible>
  14918.         <reserved5> 0 </reserved5>
  14919.         <reserved4> 0 </reserved4>
  14920.         <reserved3> 0 </reserved3>
  14921.         <reserved2> 0 </reserved2>
  14922.         <reserved1> 0 </reserved1>
  14923.         <enabled> <true /> </enabled>
  14924.         <rect>
  14925.             <left>201</left>
  14926.             <top>278</top>
  14927.             <right>346</right>
  14928.             <bottom>316</bottom>
  14929.         </rect>
  14930.         <style>roundrect</style>
  14931.         <showName> <true /> </showName>
  14932.         <highlight> <false /> </highlight>
  14933.         <autoHighlight> <true /> </autoHighlight>
  14934.         <sharedHighlight> <true /> </sharedHighlight>
  14935.         <family>0</family>
  14936.         <titleWidth>0</titleWidth>
  14937.         <icon>0</icon>
  14938.         <textAlign>center</textAlign>
  14939.         <font>Geneva</font>
  14940.         <textSize>12</textSize>
  14941.         <textStyle>plain</textStyle>
  14942.         <name>GetSysFolder</name>
  14943.         <script>on mouseUp
  14944. answer GetSysFolder()
  14945. end mouseUp</script>
  14946.     </part>
  14947.     <content>
  14948.         <layer>card</layer>
  14949.         <id>1</id>
  14950.         <text>
  14951.  
  14952.                                             GetSysFolder 1.0
  14953.  
  14954.                                           by Fr├⌐d├⌐ric RINALDI
  14955.  
  14956.  
  14957. DESCRIPTION
  14958. ------------
  14959.   GetSysFolder returns the pathName of the current System folder.
  14960.  
  14961. SYNTAX
  14962. --------
  14963.                                               GetSysFolder()
  14964.  
  14965. PARAMETERS
  14966. ------------
  14967.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  14968. </text>
  14969.     </content>
  14970.     <name>GetSysFolder 1.0</name>
  14971.     <script>
  14972.  
  14973.  
  14974.  
  14975. on opencard
  14976. end opencard
  14977.  
  14978. on closeCard
  14979. end closeCard
  14980.  
  14981. </script>
  14982. </card>
  14983.  
  14984.  
  14985. card_50395.xml
  14986. <?xml version="1.0" encoding="utf-8" ?>
  14987. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  14988. <card>
  14989.     <id>50395</id>
  14990.     <filler1>0</filler1>
  14991.     <bitmap>BMAP_46170.pbm</bitmap>
  14992.     <cantDelete> <false /> </cantDelete>
  14993.     <showPict> <true /> </showPict>
  14994.     <dontSearch> <false /> </dontSearch>
  14995.     <owner>46925</owner>
  14996.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  14997.     <part>
  14998.         <id>1</id>
  14999.         <type>field</type>
  15000.         <visible> <true /> </visible>
  15001.         <dontWrap> <false /> </dontWrap>
  15002.         <dontSearch> <false /> </dontSearch>
  15003.         <sharedText> <false /> </sharedText>
  15004.         <fixedLineHeight> <true /> </fixedLineHeight>
  15005.         <autoTab> <false /> </autoTab>
  15006.         <lockText> <true /> </lockText>
  15007.         <rect>
  15008.             <left>69</left>
  15009.             <top>68</top>
  15010.             <right>434</right>
  15011.             <bottom>252</bottom>
  15012.         </rect>
  15013.         <style>scrolling</style>
  15014.         <autoSelect> <false /> </autoSelect>
  15015.         <showLines> <false /> </showLines>
  15016.         <wideMargins> <false /> </wideMargins>
  15017.         <multipleLines> <false /> </multipleLines>
  15018.         <reservedFamily> 0 </reservedFamily>
  15019.         <titleWidth>0</titleWidth>
  15020.         <icon>0</icon>
  15021.         <textAlign>left</textAlign>
  15022.         <font>Geneva</font>
  15023.         <textSize>9</textSize>
  15024.         <textStyle>plain</textStyle>
  15025.         <textHeight>12</textHeight>
  15026.         <name></name>
  15027.         <script></script>
  15028.     </part>
  15029.     <part>
  15030.         <id>29</id>
  15031.         <type>field</type>
  15032.         <visible> <true /> </visible>
  15033.         <dontWrap> <false /> </dontWrap>
  15034.         <dontSearch> <false /> </dontSearch>
  15035.         <sharedText> <false /> </sharedText>
  15036.         <fixedLineHeight> <true /> </fixedLineHeight>
  15037.         <autoTab> <false /> </autoTab>
  15038.         <lockText> <true /> </lockText>
  15039.         <rect>
  15040.             <left>154</left>
  15041.             <top>86</top>
  15042.             <right>362</right>
  15043.             <bottom>232</bottom>
  15044.         </rect>
  15045.         <style>shadow</style>
  15046.         <autoSelect> <false /> </autoSelect>
  15047.         <showLines> <true /> </showLines>
  15048.         <wideMargins> <true /> </wideMargins>
  15049.         <multipleLines> <false /> </multipleLines>
  15050.         <reservedFamily> 0 </reservedFamily>
  15051.         <titleWidth>0</titleWidth>
  15052.         <icon>0</icon>
  15053.         <textAlign>left</textAlign>
  15054.         <font>Geneva</font>
  15055.         <textSize>9</textSize>
  15056.         <textStyle>bold</textStyle>
  15057.         <textHeight>11</textHeight>
  15058.         <name></name>
  15059.         <script>on mouseUp
  15060. hideAll
  15061. end mouseUp</script>
  15062.     </part>
  15063.     <part>
  15064.         <id>35</id>
  15065.         <type>field</type>
  15066.         <visible> <true /> </visible>
  15067.         <dontWrap> <false /> </dontWrap>
  15068.         <dontSearch> <false /> </dontSearch>
  15069.         <sharedText> <false /> </sharedText>
  15070.         <fixedLineHeight> <true /> </fixedLineHeight>
  15071.         <autoTab> <false /> </autoTab>
  15072.         <lockText> <true /> </lockText>
  15073.         <rect>
  15074.             <left>282</left>
  15075.             <top>86</top>
  15076.             <right>359</right>
  15077.             <bottom>230</bottom>
  15078.         </rect>
  15079.         <style>transparent</style>
  15080.         <autoSelect> <false /> </autoSelect>
  15081.         <showLines> <true /> </showLines>
  15082.         <wideMargins> <true /> </wideMargins>
  15083.         <multipleLines> <false /> </multipleLines>
  15084.         <reservedFamily> 0 </reservedFamily>
  15085.         <titleWidth>0</titleWidth>
  15086.         <icon>0</icon>
  15087.         <textAlign>left</textAlign>
  15088.         <font>Geneva</font>
  15089.         <textSize>9</textSize>
  15090.         <textStyle>plain</textStyle>
  15091.         <textHeight>11</textHeight>
  15092.         <name></name>
  15093.         <script>on mouseUp
  15094. hideAll
  15095. end mouseUp</script>
  15096.     </part>
  15097.     <part>
  15098.         <id>36</id>
  15099.         <type>button</type>
  15100.         <visible> <true /> </visible>
  15101.         <reserved5> 0 </reserved5>
  15102.         <reserved4> 0 </reserved4>
  15103.         <reserved3> 0 </reserved3>
  15104.         <reserved2> 0 </reserved2>
  15105.         <reserved1> 0 </reserved1>
  15106.         <enabled> <true /> </enabled>
  15107.         <rect>
  15108.             <left>183</left>
  15109.             <top>275</top>
  15110.             <right>328</right>
  15111.             <bottom>313</bottom>
  15112.         </rect>
  15113.         <style>roundrect</style>
  15114.         <showName> <true /> </showName>
  15115.         <highlight> <false /> </highlight>
  15116.         <autoHighlight> <true /> </autoHighlight>
  15117.         <sharedHighlight> <true /> </sharedHighlight>
  15118.         <family>0</family>
  15119.         <titleWidth>0</titleWidth>
  15120.         <icon>0</icon>
  15121.         <textAlign>center</textAlign>
  15122.         <font>Geneva</font>
  15123.         <textSize>12</textSize>
  15124.         <textStyle>plain</textStyle>
  15125.         <name>GetVInfo</name>
  15126.         <script>on mouseUp
  15127. ask "Volume name :"
  15128.  
  15129. if it Γëá empty
  15130. then
  15131. put GetVInfo(it) into Temp
  15132.  
  15133. if first word of Temp is "Error"
  15134. then
  15135. beep
  15136. answer Temp
  15137. else
  15138. put switch(Temp) into cd fld 3
  15139. show cd fld 2
  15140. show cd fld 3
  15141. end if
  15142. end if
  15143. end mouseUp
  15144. </script>
  15145.     </part>
  15146.     <content>
  15147.         <layer>card</layer>
  15148.         <id>1</id>
  15149.         <text>
  15150.  
  15151.                                               GetVInfo 1.0
  15152.  
  15153.                                          by Fr├⌐d├⌐ric RINALDI
  15154.  
  15155.  
  15156. DESCRIPTION
  15157. ------------
  15158.   GetVInfo returns informations about a volume.
  15159.  
  15160. SYNTAX
  15161. -------
  15162.                     GetVInfo <volume name or volume alias pathname>
  15163.  
  15164.  
  15165. PARAMETERS
  15166. ------------
  15167.    <volume name or volume alias pathname> can be a volume name or full path to a volume alias.
  15168.  
  15169.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  15170.  
  15171.  
  15172. USING
  15173. -----
  15174.    The XFCN returns a 12 items list containing :
  15175.  
  15176.   1) total space (in Kb)
  15177.   2) free space (in Kb)
  15178.   3) number of files
  15179.   4) number of folders
  15180.   5) locked (true|false)
  15181.   6) ejectable (true|false)
  15182.   7) creation date (short format)
  15183.   8) creation time
  15184.   9) modification date (short format)
  15185. 10) modification time
  15186. 11) backup date (short format, only if existing)
  15187. 12) backup time (only if existing)
  15188.  
  15189.  
  15190. ERRORS
  15191. -------
  15192. If an error occurs, GetVInfo can return :
  15193.  
  15194.      "Error : Alias file not supported"
  15195.      "Error : Volume not found"
  15196.      "Error : Bad Name"
  15197.      "Error : File not found"
  15198.      "Error : Folder not found"
  15199.      "Error : File is busy"
  15200.      "Error : I/O Error"
  15201.      "Error : AppleShare insufficient privileges"
  15202.      "Error : Missing or empty parameter(s)"
  15203.  
  15204.  
  15205. HISTORY
  15206. --------
  15207. 1.0 :                                                                                         02/23/92
  15208. ΓÇó First release
  15209. </text>
  15210.     </content>
  15211.     <content>
  15212.         <layer>card</layer>
  15213.         <id>29</id>
  15214.         <text>total space
  15215. free space
  15216. number of files
  15217. number of folders
  15218. locked
  15219. ejectable
  15220. creation date
  15221. creation time
  15222. modification date
  15223. modification time
  15224. backup date
  15225. backup time
  15226. </text>
  15227.     </content>
  15228.     <content>
  15229.         <layer>card</layer>
  15230.         <id>35</id>
  15231.         <text>29223
  15232. 4490
  15233. 928
  15234. 106
  15235. false
  15236. false
  15237. 11/3/91
  15238. 5:41:11 PM
  15239. 9/19/92
  15240. 10:21:29 AM</text>
  15241.     </content>
  15242.     <name></name>
  15243.     <script></script>
  15244. </card>
  15245.  
  15246.  
  15247. card_27038.xml
  15248. <?xml version="1.0" encoding="utf-8" ?>
  15249. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  15250. <card>
  15251.     <id>27038</id>
  15252.     <filler1>0</filler1>
  15253.     <bitmap>BMAP_27195.pbm</bitmap>
  15254.     <cantDelete> <false /> </cantDelete>
  15255.     <showPict> <true /> </showPict>
  15256.     <dontSearch> <false /> </dontSearch>
  15257.     <owner>46925</owner>
  15258.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  15259.     <part>
  15260.         <id>1</id>
  15261.         <type>field</type>
  15262.         <visible> <true /> </visible>
  15263.         <dontWrap> <false /> </dontWrap>
  15264.         <dontSearch> <false /> </dontSearch>
  15265.         <sharedText> <false /> </sharedText>
  15266.         <fixedLineHeight> <true /> </fixedLineHeight>
  15267.         <autoTab> <false /> </autoTab>
  15268.         <lockText> <true /> </lockText>
  15269.         <rect>
  15270.             <left>69</left>
  15271.             <top>68</top>
  15272.             <right>434</right>
  15273.             <bottom>252</bottom>
  15274.         </rect>
  15275.         <style>scrolling</style>
  15276.         <autoSelect> <false /> </autoSelect>
  15277.         <showLines> <false /> </showLines>
  15278.         <wideMargins> <false /> </wideMargins>
  15279.         <multipleLines> <false /> </multipleLines>
  15280.         <reservedFamily> 0 </reservedFamily>
  15281.         <titleWidth>0</titleWidth>
  15282.         <icon>0</icon>
  15283.         <textAlign>left</textAlign>
  15284.         <font>Geneva</font>
  15285.         <textSize>9</textSize>
  15286.         <textStyle>plain</textStyle>
  15287.         <textHeight>12</textHeight>
  15288.         <name>Text</name>
  15289.         <script></script>
  15290.     </part>
  15291.     <part>
  15292.         <id>5</id>
  15293.         <type>button</type>
  15294.         <visible> <true /> </visible>
  15295.         <reserved5> 0 </reserved5>
  15296.         <reserved4> 0 </reserved4>
  15297.         <reserved3> 0 </reserved3>
  15298.         <reserved2> 0 </reserved2>
  15299.         <reserved1> 0 </reserved1>
  15300.         <enabled> <true /> </enabled>
  15301.         <rect>
  15302.             <left>174</left>
  15303.             <top>281</top>
  15304.             <right>343</right>
  15305.             <bottom>311</bottom>
  15306.         </rect>
  15307.         <style>roundrect</style>
  15308.         <showName> <true /> </showName>
  15309.         <highlight> <false /> </highlight>
  15310.         <autoHighlight> <true /> </autoHighlight>
  15311.         <sharedHighlight> <true /> </sharedHighlight>
  15312.         <family>0</family>
  15313.         <titleWidth>0</titleWidth>
  15314.         <icon>0</icon>
  15315.         <textAlign>center</textAlign>
  15316.         <font>Chicago</font>
  15317.         <textSize>12</textSize>
  15318.         <textStyle>plain</textStyle>
  15319.         <name>GlobalList</name>
  15320.         <script>on mouseUp
  15321. answer "List all :" with "TRUE" or "FALSE"
  15322. answer GlobalList(it)
  15323. end mouseUp</script>
  15324.     </part>
  15325.     <content>
  15326.         <layer>card</layer>
  15327.         <id>1</id>
  15328.         <text>
  15329.  
  15330.                                                GlobalList 1.1
  15331.  
  15332.                                           by Fr├⌐d├⌐ric RINALDI
  15333.  
  15334.  
  15335. DESCRIPTION
  15336. ------------
  15337.   GlobalList returns the list of available global variables.
  15338.  
  15339. SYNTAX
  15340. --------
  15341.                                           GlobalList([<ListAll>])
  15342.  
  15343. PARAMETERS
  15344. ------------
  15345.    <ListAll> is a boolean, making the returned list contain all global variables available (TRUE), or only those not handled by HyperCard or the Home stack (FALSE). Default is FALSE.
  15346.  
  15347.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  15348.  
  15349. USING
  15350. -----
  15351.    The XFCN return an itels delimited list of variable names.
  15352.  
  15353. If an error occurs, GlobalList can return :
  15354.      "Error : Out of Memory"
  15355.      "Error : Parameter must be true or false"
  15356.  
  15357. VERSIONS
  15358. ---------
  15359. 1.1 :
  15360. ΓÇó Fixed returned value when no globals are defined
  15361. </text>
  15362.     </content>
  15363.     <name>GlobalList 1.1</name>
  15364.     <script>
  15365.  
  15366.  
  15367.  
  15368. on opencard
  15369. end opencard
  15370.  
  15371. on closeCard
  15372. end closeCard
  15373.  
  15374. </script>
  15375. </card>
  15376.  
  15377.  
  15378. card_27500.xml
  15379. <?xml version="1.0" encoding="utf-8" ?>
  15380. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  15381. <card>
  15382.     <id>27500</id>
  15383.     <filler1>0</filler1>
  15384.     <bitmap>BMAP_27772.pbm</bitmap>
  15385.     <cantDelete> <false /> </cantDelete>
  15386.     <showPict> <true /> </showPict>
  15387.     <dontSearch> <false /> </dontSearch>
  15388.     <owner>46925</owner>
  15389.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  15390.     <part>
  15391.         <id>1</id>
  15392.         <type>field</type>
  15393.         <visible> <true /> </visible>
  15394.         <dontWrap> <false /> </dontWrap>
  15395.         <dontSearch> <false /> </dontSearch>
  15396.         <sharedText> <false /> </sharedText>
  15397.         <fixedLineHeight> <true /> </fixedLineHeight>
  15398.         <autoTab> <false /> </autoTab>
  15399.         <lockText> <true /> </lockText>
  15400.         <rect>
  15401.             <left>69</left>
  15402.             <top>68</top>
  15403.             <right>434</right>
  15404.             <bottom>252</bottom>
  15405.         </rect>
  15406.         <style>scrolling</style>
  15407.         <autoSelect> <false /> </autoSelect>
  15408.         <showLines> <false /> </showLines>
  15409.         <wideMargins> <false /> </wideMargins>
  15410.         <multipleLines> <false /> </multipleLines>
  15411.         <reservedFamily> 0 </reservedFamily>
  15412.         <titleWidth>0</titleWidth>
  15413.         <icon>0</icon>
  15414.         <textAlign>left</textAlign>
  15415.         <font>Geneva</font>
  15416.         <textSize>9</textSize>
  15417.         <textStyle>plain</textStyle>
  15418.         <textHeight>12</textHeight>
  15419.         <name>Text</name>
  15420.         <script></script>
  15421.     </part>
  15422.     <part>
  15423.         <id>5</id>
  15424.         <type>button</type>
  15425.         <visible> <true /> </visible>
  15426.         <reserved5> 0 </reserved5>
  15427.         <reserved4> 0 </reserved4>
  15428.         <reserved3> 0 </reserved3>
  15429.         <reserved2> 0 </reserved2>
  15430.         <reserved1> 0 </reserved1>
  15431.         <enabled> <true /> </enabled>
  15432.         <rect>
  15433.             <left>174</left>
  15434.             <top>281</top>
  15435.             <right>343</right>
  15436.             <bottom>311</bottom>
  15437.         </rect>
  15438.         <style>roundrect</style>
  15439.         <showName> <true /> </showName>
  15440.         <highlight> <false /> </highlight>
  15441.         <autoHighlight> <true /> </autoHighlight>
  15442.         <sharedHighlight> <true /> </sharedHighlight>
  15443.         <family>0</family>
  15444.         <titleWidth>0</titleWidth>
  15445.         <icon>0</icon>
  15446.         <textAlign>center</textAlign>
  15447.         <font>Chicago</font>
  15448.         <textSize>12</textSize>
  15449.         <textStyle>plain</textStyle>
  15450.         <name>SaveCurrentGlobals</name>
  15451.         <script>on mouseUp
  15452. global GlobalVarsList,GlobalVar1,GlobalVar2
  15453.  
  15454. set loc of window "Variable Watcher" to "0,18"
  15455. set rect of window "Variable Watcher" to "0,0,300,60"
  15456. set hbarloc of window "variable watcher" to 58
  15457. show variable watcher
  15458.  
  15459. put "Saving current global variables"
  15460.  
  15461. SaveCurrentGlobals
  15462.  
  15463. hide variable watcher
  15464. show variable watcher
  15465. wait 2 secs
  15466.  
  15467.  
  15468.  
  15469. put "Creating global variables ΓÇ£GlobalVar1ΓÇ¥ et ΓÇ£GlobalVar2ΓÇ¥"
  15470.  
  15471. put "Something" into GlobalVar1
  15472. put "Something else" into GlobalVar2
  15473.  
  15474. hide variable watcher
  15475. show variable watcher
  15476. wait 2 secs
  15477.  
  15478.  
  15479.  
  15480. put "Purging global variables ΓÇ£GlobalVar1ΓÇ¥ et ΓÇ£GlobalVar2ΓÇ¥"
  15481.  
  15482. ClearStackGLobals
  15483.  
  15484. hide variable watcher
  15485. show variable watcher
  15486. wait 2 secs
  15487.  
  15488.  
  15489.  
  15490. hide variable watcher
  15491. put empty
  15492. hide msg
  15493.  
  15494. end mouseUp
  15495. </script>
  15496.     </part>
  15497.     <content>
  15498.         <layer>card</layer>
  15499.         <id>1</id>
  15500.         <text>
  15501.                                          GlobalMaster stack
  15502.  
  15503.                                         by Fr├⌐d├⌐ric RINALDI
  15504.  
  15505.  
  15506.    This stack contains two XCMDs which allow to easily purge all global variables created by the stack. They work only with HyperCard 2.0.
  15507.  
  15508.  
  15509.                                       SaveCurrentGlobals 1.0
  15510.  
  15511. DESCRIPTION
  15512. ------------
  15513.    SaveCurrentGlobals saves the list of current active globals.
  15514.  
  15515. SYNTAX
  15516. -------
  15517.                                         SaveCurrentGlobals
  15518.  
  15519. PARAMETERS
  15520. ------------
  15521.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  15522.  
  15523. USING
  15524. -----
  15525.    SaveCurrentGlobals must appear in the "on openStack" handler before any global variable setting. 
  15526.    The XCMD creates a global named GlobalVarsList which will be used later by ClearStackGlobals XCMD.
  15527.  
  15528. If an error occurs, SaveCurrentGlobals can return :
  15529.      "Error : Out of Memory"
  15530.  
  15531.  
  15532.                                         ClearStackGlobals 1.0
  15533.  
  15534. DESCRIPTION
  15535. ------------
  15536.    ClearStackGlobals purges all global variables created since call to SaveStackGlobals.
  15537.  
  15538. SYNTAX
  15539. --------
  15540.                                            ClearStackGlobals
  15541.  
  15542. PARAMETERS
  15543. ------------
  15544.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  15545.  
  15546. USING
  15547. ------
  15548.    ClearStackGlobals will generally be located in the "on closeStack" handler.
  15549.    The XCMD uses the global variable GlobalVarsList created earlier by SaveCurrentGlobals to find globals that must be cleared.
  15550. </text>
  15551.     </content>
  15552.     <name>GlobalMaster 1.0</name>
  15553.     <script>
  15554.  
  15555.  
  15556.  
  15557. on opencard
  15558. end opencard
  15559.  
  15560. on closeCard
  15561. end closeCard
  15562.  
  15563. </script>
  15564. </card>
  15565.  
  15566.  
  15567. card_54677.xml
  15568. <?xml version="1.0" encoding="utf-8" ?>
  15569. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  15570. <card>
  15571.     <id>54677</id>
  15572.     <filler1>0</filler1>
  15573.     <bitmap>BMAP_46834.pbm</bitmap>
  15574.     <cantDelete> <false /> </cantDelete>
  15575.     <showPict> <true /> </showPict>
  15576.     <dontSearch> <false /> </dontSearch>
  15577.     <owner>46925</owner>
  15578.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  15579.     <part>
  15580.         <id>1</id>
  15581.         <type>field</type>
  15582.         <visible> <true /> </visible>
  15583.         <dontWrap> <false /> </dontWrap>
  15584.         <dontSearch> <false /> </dontSearch>
  15585.         <sharedText> <false /> </sharedText>
  15586.         <fixedLineHeight> <true /> </fixedLineHeight>
  15587.         <autoTab> <false /> </autoTab>
  15588.         <lockText> <true /> </lockText>
  15589.         <rect>
  15590.             <left>69</left>
  15591.             <top>68</top>
  15592.             <right>434</right>
  15593.             <bottom>252</bottom>
  15594.         </rect>
  15595.         <style>scrolling</style>
  15596.         <autoSelect> <false /> </autoSelect>
  15597.         <showLines> <false /> </showLines>
  15598.         <wideMargins> <false /> </wideMargins>
  15599.         <multipleLines> <false /> </multipleLines>
  15600.         <reservedFamily> 0 </reservedFamily>
  15601.         <titleWidth>0</titleWidth>
  15602.         <icon>0</icon>
  15603.         <textAlign>left</textAlign>
  15604.         <font>Geneva</font>
  15605.         <textSize>9</textSize>
  15606.         <textStyle>plain</textStyle>
  15607.         <textHeight>12</textHeight>
  15608.         <name>Text</name>
  15609.         <script></script>
  15610.     </part>
  15611.     <part>
  15612.         <id>2</id>
  15613.         <type>button</type>
  15614.         <visible> <true /> </visible>
  15615.         <reserved5> 0 </reserved5>
  15616.         <reserved4> 0 </reserved4>
  15617.         <reserved3> 0 </reserved3>
  15618.         <reserved2> 0 </reserved2>
  15619.         <reserved1> 0 </reserved1>
  15620.         <enabled> <true /> </enabled>
  15621.         <rect>
  15622.             <left>174</left>
  15623.             <top>281</top>
  15624.             <right>343</right>
  15625.             <bottom>311</bottom>
  15626.         </rect>
  15627.         <style>roundrect</style>
  15628.         <showName> <true /> </showName>
  15629.         <highlight> <false /> </highlight>
  15630.         <autoHighlight> <true /> </autoHighlight>
  15631.         <sharedHighlight> <true /> </sharedHighlight>
  15632.         <family>0</family>
  15633.         <titleWidth>0</titleWidth>
  15634.         <icon>0</icon>
  15635.         <textAlign>center</textAlign>
  15636.         <font>Geneva</font>
  15637.         <textSize>12</textSize>
  15638.         <textStyle>plain</textStyle>
  15639.         <name>HowMany</name>
  15640.         <script>on mouseUp
  15641. ask "Search in text fld for :" with "the"
  15642. if it is empty then exit mouseUp
  15643. answer HowMany(it,cd fld 1) && "occurrences found"
  15644. end mouseUp
  15645. </script>
  15646.     </part>
  15647.     <content>
  15648.         <layer>card</layer>
  15649.         <id>1</id>
  15650.         <text>
  15651.  
  15652.                                               HowMany 1.1
  15653.  
  15654.                                          by Fr├⌐d├⌐ric RINALDI
  15655.  
  15656.  
  15657. DESCRIPTION
  15658. ------------
  15659.   HowMany returns the number of occurrences of a pattern string within a target string.
  15660.  
  15661.  
  15662. SYNTAX
  15663. -------
  15664.                                    HowMany(<pattern>,<target>)
  15665.  
  15666.  
  15667. PARAMETERS
  15668. -------------
  15669.    <pattern> is the string to search for.
  15670.  
  15671.    <target> is the string to search in.
  15672.  
  15673.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  15674.  
  15675.  
  15676. USING
  15677. -----
  15678.    The XFCN returns the number found as an integer. Seraching is cas insensitive.
  15679.  
  15680.  
  15681. ERRORS
  15682. -------
  15683. If an error occurs, HowMany can return :
  15684.      "Error : Missing or empty parameter"
  15685.  
  15686.  
  15687. HISTORY
  15688. --------
  15689. 1.0                                                                                        17/07/92
  15690. ΓÇó First public release
  15691. </text>
  15692.     </content>
  15693.     <name></name>
  15694.     <script></script>
  15695. </card>
  15696.  
  15697.  
  15698. card_27982.xml
  15699. <?xml version="1.0" encoding="utf-8" ?>
  15700. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  15701. <card>
  15702.     <id>27982</id>
  15703.     <filler1>0</filler1>
  15704.     <bitmap>BMAP_28203.pbm</bitmap>
  15705.     <cantDelete> <false /> </cantDelete>
  15706.     <showPict> <true /> </showPict>
  15707.     <dontSearch> <false /> </dontSearch>
  15708.     <owner>46925</owner>
  15709.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  15710.     <part>
  15711.         <id>1</id>
  15712.         <type>field</type>
  15713.         <visible> <true /> </visible>
  15714.         <dontWrap> <false /> </dontWrap>
  15715.         <dontSearch> <false /> </dontSearch>
  15716.         <sharedText> <false /> </sharedText>
  15717.         <fixedLineHeight> <true /> </fixedLineHeight>
  15718.         <autoTab> <false /> </autoTab>
  15719.         <lockText> <true /> </lockText>
  15720.         <rect>
  15721.             <left>69</left>
  15722.             <top>68</top>
  15723.             <right>434</right>
  15724.             <bottom>252</bottom>
  15725.         </rect>
  15726.         <style>scrolling</style>
  15727.         <autoSelect> <false /> </autoSelect>
  15728.         <showLines> <false /> </showLines>
  15729.         <wideMargins> <false /> </wideMargins>
  15730.         <multipleLines> <false /> </multipleLines>
  15731.         <reservedFamily> 0 </reservedFamily>
  15732.         <titleWidth>0</titleWidth>
  15733.         <icon>0</icon>
  15734.         <textAlign>left</textAlign>
  15735.         <font>Geneva</font>
  15736.         <textSize>9</textSize>
  15737.         <textStyle>plain</textStyle>
  15738.         <textHeight>12</textHeight>
  15739.         <name></name>
  15740.         <script></script>
  15741.     </part>
  15742.     <part>
  15743.         <id>5</id>
  15744.         <type>button</type>
  15745.         <visible> <true /> </visible>
  15746.         <reserved5> 0 </reserved5>
  15747.         <reserved4> 0 </reserved4>
  15748.         <reserved3> 0 </reserved3>
  15749.         <reserved2> 0 </reserved2>
  15750.         <reserved1> 0 </reserved1>
  15751.         <enabled> <true /> </enabled>
  15752.         <rect>
  15753.             <left>174</left>
  15754.             <top>281</top>
  15755.             <right>343</right>
  15756.             <bottom>311</bottom>
  15757.         </rect>
  15758.         <style>roundrect</style>
  15759.         <showName> <true /> </showName>
  15760.         <highlight> <false /> </highlight>
  15761.         <autoHighlight> <true /> </autoHighlight>
  15762.         <sharedHighlight> <true /> </sharedHighlight>
  15763.         <family>0</family>
  15764.         <titleWidth>0</titleWidth>
  15765.         <icon>0</icon>
  15766.         <textAlign>center</textAlign>
  15767.         <font>Geneva</font>
  15768.         <textSize>12</textSize>
  15769.         <textStyle>plain</textStyle>
  15770.         <name>ICNToICON</name>
  15771.         <script>on mouseUp
  15772. get FilePath("APPL","Application to get icons from :")
  15773. if it Γëá empty
  15774. then
  15775. put it into TheFile
  15776. set cursor to watch
  15777. ask "What types :" with DocTypes(TheFile)
  15778. put it into Types
  15779.  
  15780. set cursor to watch
  15781. ICNToICON TheFile,it
  15782.  
  15783. if first word of the Result is "Error"
  15784. then answer the Result
  15785. else answer "ICON(s) copied to this stack"
  15786.  
  15787. end if
  15788. end mouseUp
  15789. </script>
  15790.     </part>
  15791.     <content>
  15792.         <layer>card</layer>
  15793.         <id>1</id>
  15794.         <text>
  15795.  
  15796.                                                ICNToICON 1.6
  15797.  
  15798.                                           by Fr├⌐d├⌐ric RINALDI
  15799.  
  15800.  
  15801.  
  15802. DESCRIPTION
  15803. ------------
  15804.   ICNToICON XCMD gets ICN#(s)  from any file and copies it (them) as ICON into another file.
  15805.  
  15806.  
  15807. SYNTAX
  15808. --------
  15809.           ICNToICON <file pathname>[,<type 1[ΓǪ,type N]>[,<dest file>]]
  15810.  
  15811.  
  15812. PARAMETERS
  15813. ------------
  15814.  
  15815.    <file pathname> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  15816.  
  15817.    <type 1[ΓǪ,type N]> is an item list of types for which the ICN# has to be got. If empty, the main ICN# is copied.
  15818.  
  15819.    <dest file> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack. If omited, the destination will be the current stack.
  15820.  
  15821.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  15822.  
  15823.  
  15824. USING
  15825. -----
  15826.    The XCMD return in the Result an item list of copied ICON(s) IDs. An empty item in it means that the corresponding type in type list parameter was not found in the file, or that its ICN# was missing.
  15827.  
  15828.    The copied ICON(s) are automatically named by catenating the Creator of file and Type for each.
  15829.  
  15830. If an error occurs, ICNToICON can return :
  15831.  
  15832.      "Error : Not a file"
  15833.      "Error : Not a folder"
  15834.      "Error : Alias file not supported"
  15835.      "Error : Volume not found"
  15836.      "Error : Bad Name"
  15837.      "Error : File not found"
  15838.      "Error : Folder not found"
  15839.      "Error : File is busy"
  15840.      "Error : I/O Error"
  15841.      "Error : Folder is full"
  15842.      "Error : Volume is locked"
  15843.      "Error : No resource fork"
  15844.      "Error : Duplicate file/folder name"
  15845.      "Error : Moving whole volume not allowed"
  15846.      "Error : Not an AppleShare volume"
  15847.      "Error : AppleShare insufficient privileges"
  15848.      "Error : XXXX entries not found in BNDL"
  15849.      "Error : Missing or empty file name"
  15850.      "Error : Could't open prov file"
  15851.      "Error : Couln't get BNDL resource"
  15852.      "Error : Found no FREF resource"
  15853.      "Error : Bad file type in list"
  15854.      "Error : AddResource failed"
  15855.      "Error : WriteResource failed"
  15856.      "Error : UpdateResFile failed"
  15857.  
  15858.  
  15859. HISTORY
  15860. -------
  15861. 1.6 :                                                                                          08/04/91
  15862. ΓÇó Added support for System 7.0 alias files
  15863. ΓÇó General enhancement of the code
  15864. ΓÇó Added "=" param for online help
  15865.  
  15866. 1.5:
  15867. ΓÇó BNDL access change to handle particular files.
  15868.  
  15869. 1.4 :
  15870.   ΓÇó fixed a bug arising whith files having an icorrect BNDL resource
  15871.  
  15872.  
  15873. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.) and DocTypes XFCN (┬⌐ Fr├⌐d├⌐ric RINALDI).
  15874. </text>
  15875.     </content>
  15876.     <name>ICNToICON 1.6</name>
  15877.     <script></script>
  15878. </card>
  15879.  
  15880.  
  15881. card_28613.xml
  15882. <?xml version="1.0" encoding="utf-8" ?>
  15883. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  15884. <card>
  15885.     <id>28613</id>
  15886.     <filler1>0</filler1>
  15887.     <bitmap>BMAP_28870.pbm</bitmap>
  15888.     <cantDelete> <false /> </cantDelete>
  15889.     <showPict> <true /> </showPict>
  15890.     <dontSearch> <false /> </dontSearch>
  15891.     <owner>46925</owner>
  15892.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  15893.     <part>
  15894.         <id>1</id>
  15895.         <type>field</type>
  15896.         <visible> <true /> </visible>
  15897.         <dontWrap> <false /> </dontWrap>
  15898.         <dontSearch> <false /> </dontSearch>
  15899.         <sharedText> <false /> </sharedText>
  15900.         <fixedLineHeight> <true /> </fixedLineHeight>
  15901.         <autoTab> <false /> </autoTab>
  15902.         <lockText> <true /> </lockText>
  15903.         <rect>
  15904.             <left>69</left>
  15905.             <top>68</top>
  15906.             <right>434</right>
  15907.             <bottom>252</bottom>
  15908.         </rect>
  15909.         <style>scrolling</style>
  15910.         <autoSelect> <false /> </autoSelect>
  15911.         <showLines> <false /> </showLines>
  15912.         <wideMargins> <false /> </wideMargins>
  15913.         <multipleLines> <false /> </multipleLines>
  15914.         <reservedFamily> 0 </reservedFamily>
  15915.         <titleWidth>0</titleWidth>
  15916.         <icon>0</icon>
  15917.         <textAlign>left</textAlign>
  15918.         <font>Geneva</font>
  15919.         <textSize>9</textSize>
  15920.         <textStyle>plain</textStyle>
  15921.         <textHeight>12</textHeight>
  15922.         <name></name>
  15923.         <script></script>
  15924.     </part>
  15925.     <part>
  15926.         <id>5</id>
  15927.         <type>button</type>
  15928.         <visible> <true /> </visible>
  15929.         <reserved5> 0 </reserved5>
  15930.         <reserved4> 0 </reserved4>
  15931.         <reserved3> 0 </reserved3>
  15932.         <reserved2> 0 </reserved2>
  15933.         <reserved1> 0 </reserved1>
  15934.         <enabled> <true /> </enabled>
  15935.         <rect>
  15936.             <left>174</left>
  15937.             <top>281</top>
  15938.             <right>343</right>
  15939.             <bottom>311</bottom>
  15940.         </rect>
  15941.         <style>roundrect</style>
  15942.         <showName> <true /> </showName>
  15943.         <highlight> <false /> </highlight>
  15944.         <autoHighlight> <true /> </autoHighlight>
  15945.         <sharedHighlight> <true /> </sharedHighlight>
  15946.         <family>0</family>
  15947.         <titleWidth>0</titleWidth>
  15948.         <icon>0</icon>
  15949.         <textAlign>center</textAlign>
  15950.         <font>Chicago</font>
  15951.         <textSize>12</textSize>
  15952.         <textStyle>plain</textStyle>
  15953.         <name>Infoid</name>
  15954.         <script>on mouseUp
  15955. Infoid
  15956. if the Result Γëá empty
  15957. then answer the Result
  15958. end mouseUp</script>
  15959.     </part>
  15960.     <content>
  15961.         <layer>card</layer>
  15962.         <id>1</id>
  15963.         <text>
  15964.  
  15965.                                                    Infoid 1.1
  15966.  
  15967.                                           by Fr├⌐d├⌐ric RINALDI
  15968.  
  15969.  
  15970. DESCRIPTION
  15971. ------------
  15972.   Infoid XCMD displays a windoid showing current objects attributes.
  15973.  
  15974.  
  15975. SYNTAX
  15976. --------
  15977.                                              Infoid [<X>,<Y>]
  15978.  
  15979. PARAMETERS
  15980. ------------
  15981.    X and Y are optional integer, allowing to give coordinates where the window will appear on screen.
  15982.  
  15983.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  15984.  
  15985. USING
  15986. -----
  15987.    Infoid is stand alone, no linked resource is needed. To activate it, you'll have to put a short handler in your Home stack :
  15988.  
  15989.    on mouseEnter
  15990.       if "Infoid" is in windows()
  15991.       then send "Update" to window "Infoid"
  15992.    end mouseEnter
  15993.  
  15994.    Clicking on the zoom box displays more informations.
  15995.  
  15996.    Like any XWindow, Infoid has properties that can be get and set thru HyperTalk. 
  15997.   ΓÇ£properties of window "Infoid"ΓÇ¥ will return an item list of all allowed properties. Properties cannot be set.
  15998.    Most usual are Loc and visible. So you can move the windoid on the screen, and make it invisible.
  15999.  
  16000. If an error occurs, Infoid can return :
  16001.  
  16002.      "Error : Unable to create XWindow"
  16003.      "Error : XWindows not implemented"
  16004. </text>
  16005.     </content>
  16006.     <name>Infoid 1.1</name>
  16007.     <script>
  16008.  
  16009.  
  16010.  
  16011. on opencard
  16012. end opencard
  16013.  
  16014. on closeCard
  16015. if there is a window "Infoid"
  16016. then close window "Infoid"
  16017. end closeCard
  16018.  
  16019. on mouseEnter
  16020. if there is a window "Infoid"
  16021. then send "Update" to window "Infoid"
  16022. end mouseEnter
  16023.  
  16024. </script>
  16025. </card>
  16026.  
  16027.  
  16028. card_28994.xml
  16029. <?xml version="1.0" encoding="utf-8" ?>
  16030. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  16031. <card>
  16032.     <id>28994</id>
  16033.     <filler1>0</filler1>
  16034.     <bitmap>BMAP_29308.pbm</bitmap>
  16035.     <cantDelete> <false /> </cantDelete>
  16036.     <showPict> <true /> </showPict>
  16037.     <dontSearch> <false /> </dontSearch>
  16038.     <owner>46925</owner>
  16039.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  16040.     <part>
  16041.         <id>1</id>
  16042.         <type>field</type>
  16043.         <visible> <true /> </visible>
  16044.         <dontWrap> <false /> </dontWrap>
  16045.         <dontSearch> <false /> </dontSearch>
  16046.         <sharedText> <false /> </sharedText>
  16047.         <fixedLineHeight> <true /> </fixedLineHeight>
  16048.         <autoTab> <false /> </autoTab>
  16049.         <lockText> <true /> </lockText>
  16050.         <rect>
  16051.             <left>69</left>
  16052.             <top>68</top>
  16053.             <right>434</right>
  16054.             <bottom>252</bottom>
  16055.         </rect>
  16056.         <style>scrolling</style>
  16057.         <autoSelect> <false /> </autoSelect>
  16058.         <showLines> <false /> </showLines>
  16059.         <wideMargins> <false /> </wideMargins>
  16060.         <multipleLines> <false /> </multipleLines>
  16061.         <reservedFamily> 0 </reservedFamily>
  16062.         <titleWidth>0</titleWidth>
  16063.         <icon>0</icon>
  16064.         <textAlign>left</textAlign>
  16065.         <font>Geneva</font>
  16066.         <textSize>9</textSize>
  16067.         <textStyle>plain</textStyle>
  16068.         <textHeight>12</textHeight>
  16069.         <name></name>
  16070.         <script></script>
  16071.     </part>
  16072.     <part>
  16073.         <id>25</id>
  16074.         <type>button</type>
  16075.         <visible> <true /> </visible>
  16076.         <reserved5> 0 </reserved5>
  16077.         <reserved4> 0 </reserved4>
  16078.         <reserved3> 0 </reserved3>
  16079.         <reserved2> 0 </reserved2>
  16080.         <reserved1> 0 </reserved1>
  16081.         <enabled> <true /> </enabled>
  16082.         <rect>
  16083.             <left>201</left>
  16084.             <top>278</top>
  16085.             <right>346</right>
  16086.             <bottom>316</bottom>
  16087.         </rect>
  16088.         <style>roundrect</style>
  16089.         <showName> <true /> </showName>
  16090.         <highlight> <false /> </highlight>
  16091.         <autoHighlight> <true /> </autoHighlight>
  16092.         <sharedHighlight> <true /> </sharedHighlight>
  16093.         <family>0</family>
  16094.         <titleWidth>0</titleWidth>
  16095.         <icon>0</icon>
  16096.         <textAlign>center</textAlign>
  16097.         <font>Geneva</font>
  16098.         <textSize>12</textSize>
  16099.         <textStyle>plain</textStyle>
  16100.         <name>IsFile</name>
  16101.         <script>on mouseUp
  16102. ask "Name or PathName :"
  16103. if it Γëá empty
  16104. then answer IsFile(it)
  16105. end mouseUp
  16106. </script>
  16107.     </part>
  16108.     <content>
  16109.         <layer>card</layer>
  16110.         <id>1</id>
  16111.         <text>
  16112.                                                 IsFile 1.0
  16113.  
  16114.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  16115.  
  16116.  
  16117. DESCRIPTION
  16118. ------------
  16119.   IsFile is a XFCN allowing to test the existence of a file on a volume.
  16120.  
  16121.  
  16122. SYNTAX
  16123. -------
  16124.                                IsFile (<file name or pathName>)
  16125.  
  16126.  
  16127. PARAMETERS
  16128. ------------
  16129.  
  16130.    The  parameter can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  16131.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  16132.  
  16133.  
  16134. USING
  16135. -----
  16136.    The XFCN returns "true" if the file exists, "false" if not.
  16137.  
  16138.    If an error occurs, it can return :
  16139.  
  16140.                  "Error : Volume not found"
  16141.                  "Error : Bad Name"
  16142.                  "Error : Directory not found"
  16143.                  "Error : I/O Error"
  16144.                  "Error : Unknown #xx"
  16145.                  "Error : Missing parameter"
  16146. </text>
  16147.     </content>
  16148.     <name>IsFile 1.0</name>
  16149.     <script>
  16150.  
  16151.  
  16152.  
  16153. on opencard
  16154. end opencard
  16155.  
  16156. on closeCard
  16157. end closeCard
  16158.  
  16159. </script>
  16160. </card>
  16161.  
  16162.  
  16163. card_29646.xml
  16164. <?xml version="1.0" encoding="utf-8" ?>
  16165. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  16166. <card>
  16167.     <id>29646</id>
  16168.     <filler1>0</filler1>
  16169.     <bitmap>BMAP_29876.pbm</bitmap>
  16170.     <cantDelete> <false /> </cantDelete>
  16171.     <showPict> <true /> </showPict>
  16172.     <dontSearch> <false /> </dontSearch>
  16173.     <owner>46925</owner>
  16174.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  16175.     <part>
  16176.         <id>1</id>
  16177.         <type>field</type>
  16178.         <visible> <true /> </visible>
  16179.         <dontWrap> <false /> </dontWrap>
  16180.         <dontSearch> <false /> </dontSearch>
  16181.         <sharedText> <false /> </sharedText>
  16182.         <fixedLineHeight> <true /> </fixedLineHeight>
  16183.         <autoTab> <false /> </autoTab>
  16184.         <lockText> <true /> </lockText>
  16185.         <rect>
  16186.             <left>69</left>
  16187.             <top>68</top>
  16188.             <right>434</right>
  16189.             <bottom>252</bottom>
  16190.         </rect>
  16191.         <style>scrolling</style>
  16192.         <autoSelect> <false /> </autoSelect>
  16193.         <showLines> <false /> </showLines>
  16194.         <wideMargins> <false /> </wideMargins>
  16195.         <multipleLines> <false /> </multipleLines>
  16196.         <reservedFamily> 0 </reservedFamily>
  16197.         <titleWidth>0</titleWidth>
  16198.         <icon>0</icon>
  16199.         <textAlign>left</textAlign>
  16200.         <font>Geneva</font>
  16201.         <textSize>9</textSize>
  16202.         <textStyle>plain</textStyle>
  16203.         <textHeight>12</textHeight>
  16204.         <name></name>
  16205.         <script></script>
  16206.     </part>
  16207.     <part>
  16208.         <id>5</id>
  16209.         <type>button</type>
  16210.         <visible> <true /> </visible>
  16211.         <reserved5> 0 </reserved5>
  16212.         <reserved4> 0 </reserved4>
  16213.         <reserved3> 0 </reserved3>
  16214.         <reserved2> 0 </reserved2>
  16215.         <reserved1> 0 </reserved1>
  16216.         <enabled> <true /> </enabled>
  16217.         <rect>
  16218.             <left>174</left>
  16219.             <top>281</top>
  16220.             <right>343</right>
  16221.             <bottom>311</bottom>
  16222.         </rect>
  16223.         <style>roundrect</style>
  16224.         <showName> <true /> </showName>
  16225.         <highlight> <false /> </highlight>
  16226.         <autoHighlight> <true /> </autoHighlight>
  16227.         <sharedHighlight> <true /> </sharedHighlight>
  16228.         <family>0</family>
  16229.         <titleWidth>0</titleWidth>
  16230.         <icon>0</icon>
  16231.         <textAlign>center</textAlign>
  16232.         <font>Geneva</font>
  16233.         <textSize>12</textSize>
  16234.         <textStyle>plain</textStyle>
  16235.         <name>IsFinderLocked</name>
  16236.         <script>on mouseUp
  16237. get FilePath(empty,"File to test :")
  16238. if it Γëá empty
  16239. then answer IsFinderLocked(it)
  16240. end mouseUp
  16241. </script>
  16242.     </part>
  16243.     <content>
  16244.         <layer>card</layer>
  16245.         <id>1</id>
  16246.         <text>
  16247.  
  16248.                                            IsFinderLocked 1.1
  16249.  
  16250.                                           by Fr├⌐d├⌐ric RINALDI
  16251.  
  16252.  
  16253. DESCRIPTION
  16254. ------------
  16255.   IsFinderLocked XFCN allows to know if a file is locked or not (Finder info ckeckbox).
  16256.  
  16257.  
  16258. SYNTAX
  16259. --------
  16260.                IsFinderLocked <file path or name>[,"DontResolveAlias"]
  16261.  
  16262. PARAMETERS
  16263. ------------
  16264.       <file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  16265.  
  16266.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  16267.  
  16268.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  16269.  
  16270. USING
  16271. -----
  16272. If an error occurs, IsFinderLocked can return :
  16273.  
  16274.      "Error : Not a file
  16275.      "Error : Not a folder
  16276.      "Error : Alias file not supported
  16277.      "Error : Volume not found
  16278.      "Error : Bad Name
  16279.      "Error : File not found
  16280.      "Error : Folder not found
  16281.      "Error : File is busy
  16282.      "Error : I/O Error
  16283.      "Error : Folder is full
  16284.      "Error : Volume is locked
  16285.      "Error : No resource fork
  16286.      "Error : Duplicate file/folder name
  16287.      "Error : Moving whole volume not allowed
  16288.      "Error : Not an AppleShare volume
  16289.      "Error : AppleShare insufficient privileges
  16290.      "Error : Missing or empty parameter"
  16291.      "Error : Second param can only be "DontResolveAlias""
  16292.  
  16293.  
  16294. HISTORY
  16295. -------
  16296. 1.1 :
  16297. ΓÇó Added support for System 7.0 alias files
  16298. ΓÇó General enhancement of the code
  16299. ΓÇó Added "=" param for online help
  16300.  
  16301.  
  16302. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.)
  16303. </text>
  16304.     </content>
  16305.     <name>IsFinderLocked 1.1</name>
  16306.     <script>
  16307.  
  16308.  
  16309.  
  16310. on opencard
  16311. end opencard
  16312.  
  16313. on closeCard
  16314. end closeCard
  16315.  
  16316. </script>
  16317. </card>
  16318.  
  16319.  
  16320. card_30174.xml
  16321. <?xml version="1.0" encoding="utf-8" ?>
  16322. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  16323. <card>
  16324.     <id>30174</id>
  16325.     <filler1>0</filler1>
  16326.     <bitmap>BMAP_30411.pbm</bitmap>
  16327.     <cantDelete> <false /> </cantDelete>
  16328.     <showPict> <true /> </showPict>
  16329.     <dontSearch> <false /> </dontSearch>
  16330.     <owner>46925</owner>
  16331.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  16332.     <part>
  16333.         <id>1</id>
  16334.         <type>field</type>
  16335.         <visible> <true /> </visible>
  16336.         <dontWrap> <false /> </dontWrap>
  16337.         <dontSearch> <false /> </dontSearch>
  16338.         <sharedText> <false /> </sharedText>
  16339.         <fixedLineHeight> <true /> </fixedLineHeight>
  16340.         <autoTab> <false /> </autoTab>
  16341.         <lockText> <true /> </lockText>
  16342.         <rect>
  16343.             <left>69</left>
  16344.             <top>68</top>
  16345.             <right>434</right>
  16346.             <bottom>252</bottom>
  16347.         </rect>
  16348.         <style>scrolling</style>
  16349.         <autoSelect> <false /> </autoSelect>
  16350.         <showLines> <false /> </showLines>
  16351.         <wideMargins> <false /> </wideMargins>
  16352.         <multipleLines> <false /> </multipleLines>
  16353.         <reservedFamily> 0 </reservedFamily>
  16354.         <titleWidth>0</titleWidth>
  16355.         <icon>0</icon>
  16356.         <textAlign>left</textAlign>
  16357.         <font>Geneva</font>
  16358.         <textSize>9</textSize>
  16359.         <textStyle>plain</textStyle>
  16360.         <textHeight>12</textHeight>
  16361.         <name></name>
  16362.         <script></script>
  16363.     </part>
  16364.     <part>
  16365.         <id>25</id>
  16366.         <type>button</type>
  16367.         <visible> <true /> </visible>
  16368.         <reserved5> 0 </reserved5>
  16369.         <reserved4> 0 </reserved4>
  16370.         <reserved3> 0 </reserved3>
  16371.         <reserved2> 0 </reserved2>
  16372.         <reserved1> 0 </reserved1>
  16373.         <enabled> <true /> </enabled>
  16374.         <rect>
  16375.             <left>201</left>
  16376.             <top>278</top>
  16377.             <right>346</right>
  16378.             <bottom>316</bottom>
  16379.         </rect>
  16380.         <style>roundrect</style>
  16381.         <showName> <true /> </showName>
  16382.         <highlight> <false /> </highlight>
  16383.         <autoHighlight> <true /> </autoHighlight>
  16384.         <sharedHighlight> <true /> </sharedHighlight>
  16385.         <family>0</family>
  16386.         <titleWidth>0</titleWidth>
  16387.         <icon>0</icon>
  16388.         <textAlign>center</textAlign>
  16389.         <font>Geneva</font>
  16390.         <textSize>12</textSize>
  16391.         <textStyle>plain</textStyle>
  16392.         <name>IsFolder</name>
  16393.         <script>on mouseUp
  16394. ask "Folder path :"
  16395. if it Γëá empty
  16396. then answer IsFolder(it)
  16397. end mouseUp
  16398. </script>
  16399.     </part>
  16400.     <content>
  16401.         <layer>card</layer>
  16402.         <id>1</id>
  16403.         <text>
  16404.                                               IsFolder 1.0
  16405.  
  16406.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  16407.  
  16408.  
  16409. DESCRIPTION
  16410. ------------
  16411.   IsFile is a XFCN allowing to test the existence of a folder on a volume.
  16412.  
  16413.  
  16414. SYNTAX
  16415. -------
  16416.                                IsFolder (<folder pathName>)
  16417.  
  16418.  
  16419. PARAMETERS
  16420. ------------
  16421.  
  16422.    The pathname is a string that can end or not with a colon.
  16423.  
  16424.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  16425.  
  16426.  
  16427. USING
  16428. -----
  16429.    The XFCN returns "true" if the folder exists, "false" if not.
  16430.  
  16431.    If an error occurs, it can return :
  16432.  
  16433.                  "Error : Volume not found"
  16434.                  "Error : Unknown #xx"
  16435.                  "Error : Missing parameter"
  16436.                  "Error : Not a directory"
  16437. </text>
  16438.     </content>
  16439.     <name>IsFolder 1.0</name>
  16440.     <script>
  16441.  
  16442.  
  16443.  
  16444. on opencard
  16445. end opencard
  16446.  
  16447. on closeCard
  16448. end closeCard
  16449.  
  16450. </script>
  16451. </card>
  16452.  
  16453.  
  16454. card_30611.xml
  16455. <?xml version="1.0" encoding="utf-8" ?>
  16456. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  16457. <card>
  16458.     <id>30611</id>
  16459.     <filler1>0</filler1>
  16460.     <bitmap>BMAP_30756.pbm</bitmap>
  16461.     <cantDelete> <false /> </cantDelete>
  16462.     <showPict> <true /> </showPict>
  16463.     <dontSearch> <false /> </dontSearch>
  16464.     <owner>46925</owner>
  16465.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  16466.     <part>
  16467.         <id>1</id>
  16468.         <type>field</type>
  16469.         <visible> <true /> </visible>
  16470.         <dontWrap> <false /> </dontWrap>
  16471.         <dontSearch> <false /> </dontSearch>
  16472.         <sharedText> <false /> </sharedText>
  16473.         <fixedLineHeight> <true /> </fixedLineHeight>
  16474.         <autoTab> <false /> </autoTab>
  16475.         <lockText> <true /> </lockText>
  16476.         <rect>
  16477.             <left>69</left>
  16478.             <top>68</top>
  16479.             <right>434</right>
  16480.             <bottom>252</bottom>
  16481.         </rect>
  16482.         <style>scrolling</style>
  16483.         <autoSelect> <false /> </autoSelect>
  16484.         <showLines> <false /> </showLines>
  16485.         <wideMargins> <false /> </wideMargins>
  16486.         <multipleLines> <false /> </multipleLines>
  16487.         <reservedFamily> 0 </reservedFamily>
  16488.         <titleWidth>0</titleWidth>
  16489.         <icon>0</icon>
  16490.         <textAlign>left</textAlign>
  16491.         <font>Geneva</font>
  16492.         <textSize>9</textSize>
  16493.         <textStyle>plain</textStyle>
  16494.         <textHeight>12</textHeight>
  16495.         <name></name>
  16496.         <script></script>
  16497.     </part>
  16498.     <part>
  16499.         <id>25</id>
  16500.         <type>button</type>
  16501.         <visible> <true /> </visible>
  16502.         <reserved5> 0 </reserved5>
  16503.         <reserved4> 0 </reserved4>
  16504.         <reserved3> 0 </reserved3>
  16505.         <reserved2> 0 </reserved2>
  16506.         <reserved1> 0 </reserved1>
  16507.         <enabled> <true /> </enabled>
  16508.         <rect>
  16509.             <left>201</left>
  16510.             <top>278</top>
  16511.             <right>346</right>
  16512.             <bottom>316</bottom>
  16513.         </rect>
  16514.         <style>roundrect</style>
  16515.         <showName> <true /> </showName>
  16516.         <highlight> <false /> </highlight>
  16517.         <autoHighlight> <true /> </autoHighlight>
  16518.         <sharedHighlight> <true /> </sharedHighlight>
  16519.         <family>0</family>
  16520.         <titleWidth>0</titleWidth>
  16521.         <icon>0</icon>
  16522.         <textAlign>center</textAlign>
  16523.         <font>Geneva</font>
  16524.         <textSize>12</textSize>
  16525.         <textStyle>plain</textStyle>
  16526.         <name>IsObject</name>
  16527.         <script>on mouseUp
  16528. ask "object :" with "cd btn 1"
  16529. if it Γëá empty
  16530. then answer IsObject(it)
  16531. end mouseUp
  16532. </script>
  16533.     </part>
  16534.     <content>
  16535.         <layer>card</layer>
  16536.         <id>1</id>
  16537.         <text>
  16538.                                               IsObject 1.0
  16539.  
  16540.                                          ┬⌐ Fr├⌐d├⌐ric RINALDI
  16541.  
  16542.  
  16543. DESCRIPTION
  16544. ------------
  16545.   IsObject is a  XFCN allowing to test the existence of an HyperCard object.
  16546.  
  16547.  
  16548. SYNTAX
  16549. -------
  16550.                               IsObject (<object descriptor>)
  16551.  
  16552.  
  16553. PARAMETERS
  16554. ------------
  16555.  
  16556.     The object descriptor can be any valid HyperTalk descriptor (number, name or id). If a name is used, it must me enclosed in quotes :
  16557.  
  16558.        IsObject ("card button" && quote & "My button" & quote)
  16559.  
  16560.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  16561.  
  16562.  
  16563. USING
  16564. -----
  16565.    The XFCN returns "true" if the object exists, "false" if not.
  16566.  
  16567.    If an error occurs, it can return :
  16568.  
  16569.                  "Error : Missing parameter"
  16570. </text>
  16571.     </content>
  16572.     <name>IsObject 1.0</name>
  16573.     <script>
  16574.  
  16575.  
  16576.  
  16577. on opencard
  16578. end opencard
  16579.  
  16580. on closeCard
  16581. end closeCard
  16582.  
  16583. </script>
  16584. </card>
  16585.  
  16586.  
  16587. card_31115.xml
  16588. <?xml version="1.0" encoding="utf-8" ?>
  16589. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  16590. <card>
  16591.     <id>31115</id>
  16592.     <filler1>0</filler1>
  16593.     <bitmap>BMAP_31273.pbm</bitmap>
  16594.     <cantDelete> <false /> </cantDelete>
  16595.     <showPict> <true /> </showPict>
  16596.     <dontSearch> <false /> </dontSearch>
  16597.     <owner>46925</owner>
  16598.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  16599.     <part>
  16600.         <id>1</id>
  16601.         <type>field</type>
  16602.         <visible> <true /> </visible>
  16603.         <dontWrap> <false /> </dontWrap>
  16604.         <dontSearch> <false /> </dontSearch>
  16605.         <sharedText> <false /> </sharedText>
  16606.         <fixedLineHeight> <true /> </fixedLineHeight>
  16607.         <autoTab> <false /> </autoTab>
  16608.         <lockText> <true /> </lockText>
  16609.         <rect>
  16610.             <left>69</left>
  16611.             <top>68</top>
  16612.             <right>434</right>
  16613.             <bottom>252</bottom>
  16614.         </rect>
  16615.         <style>scrolling</style>
  16616.         <autoSelect> <false /> </autoSelect>
  16617.         <showLines> <false /> </showLines>
  16618.         <wideMargins> <false /> </wideMargins>
  16619.         <multipleLines> <false /> </multipleLines>
  16620.         <reservedFamily> 0 </reservedFamily>
  16621.         <titleWidth>0</titleWidth>
  16622.         <icon>0</icon>
  16623.         <textAlign>left</textAlign>
  16624.         <font>Geneva</font>
  16625.         <textSize>9</textSize>
  16626.         <textStyle>plain</textStyle>
  16627.         <textHeight>12</textHeight>
  16628.         <name></name>
  16629.         <script></script>
  16630.     </part>
  16631.     <part>
  16632.         <id>5</id>
  16633.         <type>button</type>
  16634.         <visible> <true /> </visible>
  16635.         <reserved5> 0 </reserved5>
  16636.         <reserved4> 0 </reserved4>
  16637.         <reserved3> 0 </reserved3>
  16638.         <reserved2> 0 </reserved2>
  16639.         <reserved1> 0 </reserved1>
  16640.         <enabled> <true /> </enabled>
  16641.         <rect>
  16642.             <left>174</left>
  16643.             <top>281</top>
  16644.             <right>343</right>
  16645.             <bottom>311</bottom>
  16646.         </rect>
  16647.         <style>roundrect</style>
  16648.         <showName> <true /> </showName>
  16649.         <highlight> <false /> </highlight>
  16650.         <autoHighlight> <true /> </autoHighlight>
  16651.         <sharedHighlight> <true /> </sharedHighlight>
  16652.         <family>0</family>
  16653.         <titleWidth>0</titleWidth>
  16654.         <icon>0</icon>
  16655.         <textAlign>center</textAlign>
  16656.         <font>Chicago</font>
  16657.         <textSize>12</textSize>
  16658.         <textStyle>plain</textStyle>
  16659.         <name>KillRes</name>
  16660.         <script>on mouseUp
  16661. ask "Resource type :" with "XCMD"
  16662. if it is empty then exit mouseUp
  16663. put it into ResType
  16664. ask "Resource name or ID :"
  16665. if it is empty then exit mouseUp
  16666. put it into ResName
  16667. get filePath(empty,"Delete resource from which file :")
  16668. if it is empty then exit mouseUp
  16669. KillRes ResType,ResName,it
  16670. if the Result Γëá empty
  16671. then answer the Result
  16672. end mouseUp</script>
  16673.     </part>
  16674.     <content>
  16675.         <layer>card</layer>
  16676.         <id>1</id>
  16677.         <text>
  16678.  
  16679.                                                 KillRes 1.2
  16680.  
  16681.                                          by Fr├⌐d├⌐ric RINALDI
  16682.  
  16683.  
  16684. DESCRIPTION
  16685. ------------
  16686.   KillRes allows to delete a resource in a file.
  16687.  
  16688. SYNTAX
  16689. --------
  16690.                KillRes <res type>,<res name or ID>[,<file name>]
  16691.  
  16692. PARAMETERS
  16693. ------------
  16694.    <res type> is the resource type, always a 4 chars string.
  16695.  
  16696.    <res name or ID> is the name or ID of the resource to delete.
  16697.  
  16698.    <file name> is optional, and the full pathname of the file containing the resource. If not provided, the current stack will be used.
  16699.  
  16700.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  16701.  
  16702. USING
  16703. -----
  16704.  
  16705. If an error occurs, KillRes can return :
  16706.      "Error : Missing parameter(s)"
  16707.      "Error : Incorrect resource type"
  16708.      "Error : Volume not found"
  16709.      "Error : Bad Name"
  16710.      "Error : File not found"
  16711.      "Error : Folder not found"
  16712.      "Error : I/O Error"
  16713.      "Error : Volume is locked"
  16714.      "Error : Unknown #xx"
  16715.      "Error : Resource not found"
  16716.  
  16717. HISTORY
  16718. -------
  16719. 1.2 :
  16720. ΓÇó Fixed a bug arising when deleting resource from current stack
  16721.  
  16722.  
  16723. This stack uses FilePath XFCN, ┬⌐ 1889,1990 Apple Computer Inc.
  16724. </text>
  16725.     </content>
  16726.     <name>KillRes 1.2</name>
  16727.     <script>
  16728.  
  16729.  
  16730.  
  16731. on opencard
  16732. end opencard
  16733.  
  16734. on closeCard
  16735. end closeCard
  16736.  
  16737. on test
  16738. get script of stack
  16739. get offset("CUSTOM SCR",it)
  16740. put it
  16741. end test
  16742.  
  16743. </script>
  16744. </card>
  16745.  
  16746.  
  16747. card_31662.xml
  16748. <?xml version="1.0" encoding="utf-8" ?>
  16749. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  16750. <card>
  16751.     <id>31662</id>
  16752.     <filler1>0</filler1>
  16753.     <bitmap>BMAP_31780.pbm</bitmap>
  16754.     <cantDelete> <false /> </cantDelete>
  16755.     <showPict> <true /> </showPict>
  16756.     <dontSearch> <false /> </dontSearch>
  16757.     <owner>46925</owner>
  16758.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  16759.     <part>
  16760.         <id>1</id>
  16761.         <type>field</type>
  16762.         <visible> <true /> </visible>
  16763.         <dontWrap> <false /> </dontWrap>
  16764.         <dontSearch> <false /> </dontSearch>
  16765.         <sharedText> <false /> </sharedText>
  16766.         <fixedLineHeight> <true /> </fixedLineHeight>
  16767.         <autoTab> <false /> </autoTab>
  16768.         <lockText> <true /> </lockText>
  16769.         <rect>
  16770.             <left>69</left>
  16771.             <top>68</top>
  16772.             <right>434</right>
  16773.             <bottom>252</bottom>
  16774.         </rect>
  16775.         <style>scrolling</style>
  16776.         <autoSelect> <false /> </autoSelect>
  16777.         <showLines> <false /> </showLines>
  16778.         <wideMargins> <false /> </wideMargins>
  16779.         <multipleLines> <false /> </multipleLines>
  16780.         <reservedFamily> 0 </reservedFamily>
  16781.         <titleWidth>0</titleWidth>
  16782.         <icon>0</icon>
  16783.         <textAlign>left</textAlign>
  16784.         <font>Geneva</font>
  16785.         <textSize>9</textSize>
  16786.         <textStyle>plain</textStyle>
  16787.         <textHeight>12</textHeight>
  16788.         <name></name>
  16789.         <script></script>
  16790.     </part>
  16791.     <part>
  16792.         <id>5</id>
  16793.         <type>button</type>
  16794.         <visible> <true /> </visible>
  16795.         <reserved5> 0 </reserved5>
  16796.         <reserved4> 0 </reserved4>
  16797.         <reserved3> 0 </reserved3>
  16798.         <reserved2> 0 </reserved2>
  16799.         <reserved1> 0 </reserved1>
  16800.         <enabled> <true /> </enabled>
  16801.         <rect>
  16802.             <left>174</left>
  16803.             <top>281</top>
  16804.             <right>343</right>
  16805.             <bottom>311</bottom>
  16806.         </rect>
  16807.         <style>roundrect</style>
  16808.         <showName> <true /> </showName>
  16809.         <highlight> <false /> </highlight>
  16810.         <autoHighlight> <true /> </autoHighlight>
  16811.         <sharedHighlight> <true /> </sharedHighlight>
  16812.         <family>0</family>
  16813.         <titleWidth>0</titleWidth>
  16814.         <icon>0</icon>
  16815.         <textAlign>center</textAlign>
  16816.         <font>Geneva</font>
  16817.         <textSize>12</textSize>
  16818.         <textStyle>plain</textStyle>
  16819.         <name>LineCount ()</name>
  16820.         <script>on mouseUp
  16821. ls
  16822. show btn 2
  16823. show cd fld 2
  16824. show cd fld 3
  16825. put LineCount("cd fld 3")
  16826. end mouseUp
  16827. </script>
  16828.     </part>
  16829.     <part>
  16830.         <id>8</id>
  16831.         <type>field</type>
  16832.         <visible> <false /> </visible>
  16833.         <dontWrap> <false /> </dontWrap>
  16834.         <dontSearch> <false /> </dontSearch>
  16835.         <sharedText> <false /> </sharedText>
  16836.         <fixedLineHeight> <true /> </fixedLineHeight>
  16837.         <autoTab> <false /> </autoTab>
  16838.         <lockText> <true /> </lockText>
  16839.         <rect>
  16840.             <left>131</left>
  16841.             <top>9</top>
  16842.             <right>377</right>
  16843.             <bottom>273</bottom>
  16844.         </rect>
  16845.         <style>shadow</style>
  16846.         <autoSelect> <false /> </autoSelect>
  16847.         <showLines> <false /> </showLines>
  16848.         <wideMargins> <false /> </wideMargins>
  16849.         <multipleLines> <false /> </multipleLines>
  16850.         <reservedFamily> 0 </reservedFamily>
  16851.         <titleWidth>0</titleWidth>
  16852.         <icon>0</icon>
  16853.         <textAlign>left</textAlign>
  16854.         <font>Geneva</font>
  16855.         <textSize>12</textSize>
  16856.         <textStyle>bold</textStyle>
  16857.         <textHeight>16</textHeight>
  16858.         <name></name>
  16859.         <script></script>
  16860.     </part>
  16861.     <part>
  16862.         <id>11</id>
  16863.         <type>button</type>
  16864.         <visible> <false /> </visible>
  16865.         <reserved5> 0 </reserved5>
  16866.         <reserved4> 0 </reserved4>
  16867.         <reserved3> 0 </reserved3>
  16868.         <reserved2> 0 </reserved2>
  16869.         <reserved1> 0 </reserved1>
  16870.         <enabled> <true /> </enabled>
  16871.         <rect>
  16872.             <left>135</left>
  16873.             <top>13</top>
  16874.             <right>148</right>
  16875.             <bottom>26</bottom>
  16876.         </rect>
  16877.         <style>rectangle</style>
  16878.         <showName> <true /> </showName>
  16879.         <highlight> <false /> </highlight>
  16880.         <autoHighlight> <true /> </autoHighlight>
  16881.         <sharedHighlight> <true /> </sharedHighlight>
  16882.         <family>0</family>
  16883.         <titleWidth>0</titleWidth>
  16884.         <icon>0</icon>
  16885.         <textAlign>center</textAlign>
  16886.         <font>Geneva</font>
  16887.         <textSize>12</textSize>
  16888.         <textStyle>plain</textStyle>
  16889.         <name></name>
  16890.         <script>on mouseUp
  16891. ls
  16892. hide btn 2
  16893. hide cd fld 2
  16894. hide cd fld 3
  16895. end mouseUp
  16896. </script>
  16897.     </part>
  16898.     <part>
  16899.         <id>16</id>
  16900.         <type>field</type>
  16901.         <visible> <false /> </visible>
  16902.         <dontWrap> <false /> </dontWrap>
  16903.         <dontSearch> <false /> </dontSearch>
  16904.         <sharedText> <false /> </sharedText>
  16905.         <fixedLineHeight> <true /> </fixedLineHeight>
  16906.         <autoTab> <false /> </autoTab>
  16907.         <lockText> <false /> </lockText>
  16908.         <rect>
  16909.             <left>156</left>
  16910.             <top>18</top>
  16911.             <right>354</right>
  16912.             <bottom>262</bottom>
  16913.         </rect>
  16914.         <style>scrolling</style>
  16915.         <autoSelect> <false /> </autoSelect>
  16916.         <showLines> <false /> </showLines>
  16917.         <wideMargins> <false /> </wideMargins>
  16918.         <multipleLines> <false /> </multipleLines>
  16919.         <reservedFamily> 0 </reservedFamily>
  16920.         <titleWidth>0</titleWidth>
  16921.         <icon>0</icon>
  16922.         <textAlign>left</textAlign>
  16923.         <font>Geneva</font>
  16924.         <textSize>9</textSize>
  16925.         <textStyle>plain</textStyle>
  16926.         <textHeight>12</textHeight>
  16927.         <name></name>
  16928.         <script></script>
  16929.     </part>
  16930.     <content>
  16931.         <layer>card</layer>
  16932.         <id>1</id>
  16933.         <text>
  16934.  
  16935.                                                 LineCount 1.7
  16936.  
  16937.                                           by Fr├⌐d├⌐ric RINALDI
  16938.  
  16939.  
  16940. DESCRIPTION
  16941. ------------
  16942.   LineCount is a XFCN allowing to know the real number of lines of a field, including all wrapped lines.
  16943.  
  16944.  
  16945. SYNTAXE
  16946. --------
  16947.                            LineCount ("<field descriptor>")
  16948.  
  16949.  
  16950. PARAMETERS
  16951. ------------
  16952.   field descriptor can be any valid descriptor (name, number or ID), and must be enclosed in quotes (like "cd fld 1" or "bg fld id 52")
  16953.  
  16954.    Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
  16955.  
  16956.  
  16957. USING
  16958. -----
  16959.   The XFCN returns the number of lines of the field.
  16960.  
  16961.   If an error occurs, it can return :
  16962.  
  16963.    "Error : Bad field descriptor"
  16964.    "Error : No such Font"
  16965.    "Error : Bad text style[s]"
  16966.  
  16967. HISTORY
  16968. --------
  16969. 1.7                                                                                              8/26/91
  16970. ΓÇó Fixed memory management bug
  16971.  
  16972. 1.6                                                                                              8/16/91
  16973. ΓÇó Fixed bug and added SuperCard compatibility
  16974. ΓÇó Change field rect calculation mode for HC 1.2.
  16975.  
  16976. 1.5                                                                                              7/10/91
  16977. ΓÇó Fixed bug and added SuperCard compatibility
  16978.  
  16979. 1.4                                                                                              6/13/91
  16980. ΓÇó Updated to match multi-styled fields of HC 2.0
  16981. </text>
  16982.     </content>
  16983.     <content>
  16984.         <layer>card</layer>
  16985.         <id>8</id>
  16986.         <text>
  16987. </text>
  16988.     </content>
  16989.     <content>
  16990.         <layer>card</layer>
  16991.         <id>16</id>
  16992.         <text>This XFCN is FreeWare,allowing unlimitted use in any non-commercial stack. 
  16993. You just need in this case to mention the author's name in the stack.
  16994. Any commercial use must be licenced and aknowledged by the author.
  16995. </text>
  16996.     </content>
  16997.     <name>LineCount 1.7</name>
  16998.     <script>
  16999.  
  17000.  
  17001.  
  17002. on opencard
  17003. end opencard
  17004.  
  17005. on closeCard
  17006. ls
  17007. hide btn 2
  17008. hide cd fld 2
  17009. hide cd fld 3
  17010. end closeCard
  17011.  
  17012. </script>
  17013. </card>
  17014.  
  17015.  
  17016. card_32059.xml
  17017. <?xml version="1.0" encoding="utf-8" ?>
  17018. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  17019. <card>
  17020.     <id>32059</id>
  17021.     <filler1>0</filler1>
  17022.     <bitmap>BMAP_47290.pbm</bitmap>
  17023.     <cantDelete> <false /> </cantDelete>
  17024.     <showPict> <true /> </showPict>
  17025.     <dontSearch> <false /> </dontSearch>
  17026.     <owner>46925</owner>
  17027.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  17028.     <part>
  17029.         <id>1</id>
  17030.         <type>field</type>
  17031.         <visible> <true /> </visible>
  17032.         <dontWrap> <false /> </dontWrap>
  17033.         <dontSearch> <false /> </dontSearch>
  17034.         <sharedText> <false /> </sharedText>
  17035.         <fixedLineHeight> <true /> </fixedLineHeight>
  17036.         <autoTab> <false /> </autoTab>
  17037.         <lockText> <true /> </lockText>
  17038.         <rect>
  17039.             <left>69</left>
  17040.             <top>68</top>
  17041.             <right>434</right>
  17042.             <bottom>252</bottom>
  17043.         </rect>
  17044.         <style>scrolling</style>
  17045.         <autoSelect> <false /> </autoSelect>
  17046.         <showLines> <false /> </showLines>
  17047.         <wideMargins> <false /> </wideMargins>
  17048.         <multipleLines> <false /> </multipleLines>
  17049.         <reservedFamily> 0 </reservedFamily>
  17050.         <titleWidth>0</titleWidth>
  17051.         <icon>0</icon>
  17052.         <textAlign>left</textAlign>
  17053.         <font>Geneva</font>
  17054.         <textSize>9</textSize>
  17055.         <textStyle>plain</textStyle>
  17056.         <textHeight>12</textHeight>
  17057.         <name></name>
  17058.         <script></script>
  17059.     </part>
  17060.     <part>
  17061.         <id>5</id>
  17062.         <type>button</type>
  17063.         <visible> <true /> </visible>
  17064.         <reserved5> 0 </reserved5>
  17065.         <reserved4> 0 </reserved4>
  17066.         <reserved3> 0 </reserved3>
  17067.         <reserved2> 0 </reserved2>
  17068.         <reserved1> 0 </reserved1>
  17069.         <enabled> <true /> </enabled>
  17070.         <rect>
  17071.             <left>174</left>
  17072.             <top>281</top>
  17073.             <right>343</right>
  17074.             <bottom>311</bottom>
  17075.         </rect>
  17076.         <style>roundrect</style>
  17077.         <showName> <true /> </showName>
  17078.         <highlight> <false /> </highlight>
  17079.         <autoHighlight> <true /> </autoHighlight>
  17080.         <sharedHighlight> <true /> </sharedHighlight>
  17081.         <family>0</family>
  17082.         <titleWidth>0</titleWidth>
  17083.         <icon>0</icon>
  17084.         <textAlign>center</textAlign>
  17085.         <font>Geneva</font>
  17086.         <textSize>12</textSize>
  17087.         <textStyle>plain</textStyle>
  17088.         <name>ListLogic</name>
  17089.         <script>on mouseUp
  17090. set cursor to watch
  17091. ls
  17092. repeat with i=2 to 5
  17093. show cd fld i
  17094. show btn i
  17095. end repeat
  17096. show btn 6
  17097. uls
  17098. end mouseUp
  17099. </script>
  17100.     </part>
  17101.     <part>
  17102.         <id>16</id>
  17103.         <type>field</type>
  17104.         <visible> <false /> </visible>
  17105.         <dontWrap> <false /> </dontWrap>
  17106.         <dontSearch> <false /> </dontSearch>
  17107.         <sharedText> <false /> </sharedText>
  17108.         <fixedLineHeight> <true /> </fixedLineHeight>
  17109.         <autoTab> <false /> </autoTab>
  17110.         <lockText> <true /> </lockText>
  17111.         <rect>
  17112.             <left>113</left>
  17113.             <top>66</top>
  17114.             <right>413</right>
  17115.             <bottom>320</bottom>
  17116.         </rect>
  17117.         <style>shadow</style>
  17118.         <autoSelect> <false /> </autoSelect>
  17119.         <showLines> <false /> </showLines>
  17120.         <wideMargins> <true /> </wideMargins>
  17121.         <multipleLines> <false /> </multipleLines>
  17122.         <reservedFamily> 0 </reservedFamily>
  17123.         <titleWidth>0</titleWidth>
  17124.         <icon>0</icon>
  17125.         <textAlign>left</textAlign>
  17126.         <font>Geneva</font>
  17127.         <textSize>12</textSize>
  17128.         <textStyle>plain</textStyle>
  17129.         <textHeight>16</textHeight>
  17130.         <name></name>
  17131.         <script>on mouseUp
  17132. HideAll
  17133. end MouseUp</script>
  17134.     </part>
  17135.     <part>
  17136.         <id>18</id>
  17137.         <type>field</type>
  17138.         <visible> <false /> </visible>
  17139.         <dontWrap> <false /> </dontWrap>
  17140.         <dontSearch> <false /> </dontSearch>
  17141.         <sharedText> <false /> </sharedText>
  17142.         <fixedLineHeight> <true /> </fixedLineHeight>
  17143.         <autoTab> <false /> </autoTab>
  17144.         <lockText> <false /> </lockText>
  17145.         <rect>
  17146.             <left>138</left>
  17147.             <top>91</top>
  17148.             <right>389</right>
  17149.             <bottom>109</bottom>
  17150.         </rect>
  17151.         <style>rectangle</style>
  17152.         <autoSelect> <false /> </autoSelect>
  17153.         <showLines> <false /> </showLines>
  17154.         <wideMargins> <false /> </wideMargins>
  17155.         <multipleLines> <false /> </multipleLines>
  17156.         <reservedFamily> 0 </reservedFamily>
  17157.         <titleWidth>0</titleWidth>
  17158.         <icon>0</icon>
  17159.         <textAlign>left</textAlign>
  17160.         <font>Geneva</font>
  17161.         <textSize>12</textSize>
  17162.         <textStyle>plain</textStyle>
  17163.         <textHeight>16</textHeight>
  17164.         <name></name>
  17165.         <script></script>
  17166.     </part>
  17167.     <part>
  17168.         <id>21</id>
  17169.         <type>field</type>
  17170.         <visible> <false /> </visible>
  17171.         <dontWrap> <false /> </dontWrap>
  17172.         <dontSearch> <false /> </dontSearch>
  17173.         <sharedText> <false /> </sharedText>
  17174.         <fixedLineHeight> <true /> </fixedLineHeight>
  17175.         <autoTab> <false /> </autoTab>
  17176.         <lockText> <false /> </lockText>
  17177.         <rect>
  17178.             <left>138</left>
  17179.             <top>170</top>
  17180.             <right>389</right>
  17181.             <bottom>188</bottom>
  17182.         </rect>
  17183.         <style>rectangle</style>
  17184.         <autoSelect> <false /> </autoSelect>
  17185.         <showLines> <false /> </showLines>
  17186.         <wideMargins> <false /> </wideMargins>
  17187.         <multipleLines> <false /> </multipleLines>
  17188.         <reservedFamily> 0 </reservedFamily>
  17189.         <titleWidth>0</titleWidth>
  17190.         <icon>0</icon>
  17191.         <textAlign>left</textAlign>
  17192.         <font>Geneva</font>
  17193.         <textSize>12</textSize>
  17194.         <textStyle>plain</textStyle>
  17195.         <textHeight>16</textHeight>
  17196.         <name></name>
  17197.         <script></script>
  17198.     </part>
  17199.     <part>
  17200.         <id>22</id>
  17201.         <type>field</type>
  17202.         <visible> <false /> </visible>
  17203.         <dontWrap> <false /> </dontWrap>
  17204.         <dontSearch> <false /> </dontSearch>
  17205.         <sharedText> <false /> </sharedText>
  17206.         <fixedLineHeight> <true /> </fixedLineHeight>
  17207.         <autoTab> <false /> </autoTab>
  17208.         <lockText> <true /> </lockText>
  17209.         <rect>
  17210.             <left>138</left>
  17211.             <top>234</top>
  17212.             <right>389</right>
  17213.             <bottom>252</bottom>
  17214.         </rect>
  17215.         <style>rectangle</style>
  17216.         <autoSelect> <false /> </autoSelect>
  17217.         <showLines> <false /> </showLines>
  17218.         <wideMargins> <false /> </wideMargins>
  17219.         <multipleLines> <false /> </multipleLines>
  17220.         <reservedFamily> 0 </reservedFamily>
  17221.         <titleWidth>0</titleWidth>
  17222.         <icon>0</icon>
  17223.         <textAlign>left</textAlign>
  17224.         <font>Geneva</font>
  17225.         <textSize>12</textSize>
  17226.         <textStyle>plain</textStyle>
  17227.         <textHeight>16</textHeight>
  17228.         <name></name>
  17229.         <script></script>
  17230.     </part>
  17231.     <part>
  17232.         <id>24</id>
  17233.         <type>button</type>
  17234.         <visible> <false /> </visible>
  17235.         <reserved5> 0 </reserved5>
  17236.         <reserved4> 0 </reserved4>
  17237.         <reserved3> 0 </reserved3>
  17238.         <reserved2> 0 </reserved2>
  17239.         <reserved1> 0 </reserved1>
  17240.         <enabled> <true /> </enabled>
  17241.         <rect>
  17242.             <left>167</left>
  17243.             <top>125</top>
  17244.             <right>217</right>
  17245.             <bottom>147</bottom>
  17246.         </rect>
  17247.         <style>radiobutton</style>
  17248.         <showName> <true /> </showName>
  17249.         <highlight> <false /> </highlight>
  17250.         <autoHighlight> <false /> </autoHighlight>
  17251.         <sharedHighlight> <true /> </sharedHighlight>
  17252.         <family>0</family>
  17253.         <titleWidth>0</titleWidth>
  17254.         <icon>0</icon>
  17255.         <textAlign>center</textAlign>
  17256.         <font>Geneva</font>
  17257.         <textSize>12</textSize>
  17258.         <textStyle>plain</textStyle>
  17259.         <name>AND</name>
  17260.         <script>on mouseUp
  17261. setBtn
  17262. end mouseUp
  17263. </script>
  17264.     </part>
  17265.     <part>
  17266.         <id>25</id>
  17267.         <type>button</type>
  17268.         <visible> <false /> </visible>
  17269.         <reserved5> 0 </reserved5>
  17270.         <reserved4> 0 </reserved4>
  17271.         <reserved3> 0 </reserved3>
  17272.         <reserved2> 0 </reserved2>
  17273.         <reserved1> 0 </reserved1>
  17274.         <enabled> <true /> </enabled>
  17275.         <rect>
  17276.             <left>216</left>
  17277.             <top>125</top>
  17278.             <right>266</right>
  17279.             <bottom>147</bottom>
  17280.         </rect>
  17281.         <style>radiobutton</style>
  17282.         <showName> <true /> </showName>
  17283.         <highlight> <false /> </highlight>
  17284.         <autoHighlight> <false /> </autoHighlight>
  17285.         <sharedHighlight> <true /> </sharedHighlight>
  17286.         <family>0</family>
  17287.         <titleWidth>0</titleWidth>
  17288.         <icon>0</icon>
  17289.         <textAlign>center</textAlign>
  17290.         <font>Geneva</font>
  17291.         <textSize>12</textSize>
  17292.         <textStyle>plain</textStyle>
  17293.         <name>OR</name>
  17294.         <script>on mouseUp
  17295. setBtn
  17296. end mouseUp
  17297. </script>
  17298.     </part>
  17299.     <part>
  17300.         <id>26</id>
  17301.         <type>button</type>
  17302.         <visible> <false /> </visible>
  17303.         <reserved5> 0 </reserved5>
  17304.         <reserved4> 0 </reserved4>
  17305.         <reserved3> 0 </reserved3>
  17306.         <reserved2> 0 </reserved2>
  17307.         <reserved1> 0 </reserved1>
  17308.         <enabled> <true /> </enabled>
  17309.         <rect>
  17310.             <left>265</left>
  17311.             <top>125</top>
  17312.             <right>315</right>
  17313.             <bottom>147</bottom>
  17314.         </rect>
  17315.         <style>radiobutton</style>
  17316.         <showName> <true /> </showName>
  17317.         <highlight> <false /> </highlight>
  17318.         <autoHighlight> <false /> </autoHighlight>
  17319.         <sharedHighlight> <true /> </sharedHighlight>
  17320.         <family>0</family>
  17321.         <titleWidth>0</titleWidth>
  17322.         <icon>0</icon>
  17323.         <textAlign>center</textAlign>
  17324.         <font>Geneva</font>
  17325.         <textSize>12</textSize>
  17326.         <textStyle>plain</textStyle>
  17327.         <name>XOR</name>
  17328.         <script>on mouseUp
  17329. setBtn
  17330. end mouseUp
  17331. </script>
  17332.     </part>
  17333.     <part>
  17334.         <id>27</id>
  17335.         <type>button</type>
  17336.         <visible> <false /> </visible>
  17337.         <reserved5> 0 </reserved5>
  17338.         <reserved4> 0 </reserved4>
  17339.         <reserved3> 0 </reserved3>
  17340.         <reserved2> 0 </reserved2>
  17341.         <reserved1> 0 </reserved1>
  17342.         <enabled> <true /> </enabled>
  17343.         <rect>
  17344.             <left>314</left>
  17345.             <top>125</top>
  17346.             <right>364</right>
  17347.             <bottom>147</bottom>
  17348.         </rect>
  17349.         <style>radiobutton</style>
  17350.         <showName> <true /> </showName>
  17351.         <highlight> <true /> </highlight>
  17352.         <autoHighlight> <false /> </autoHighlight>
  17353.         <sharedHighlight> <true /> </sharedHighlight>
  17354.         <family>0</family>
  17355.         <titleWidth>0</titleWidth>
  17356.         <icon>0</icon>
  17357.         <textAlign>center</textAlign>
  17358.         <font>Geneva</font>
  17359.         <textSize>12</textSize>
  17360.         <textStyle>plain</textStyle>
  17361.         <name>NOT</name>
  17362.         <script>on mouseUp
  17363. setBtn
  17364. end mouseUp
  17365. </script>
  17366.     </part>
  17367.     <part>
  17368.         <id>28</id>
  17369.         <type>button</type>
  17370.         <visible> <false /> </visible>
  17371.         <reserved5> 0 </reserved5>
  17372.         <reserved4> 0 </reserved4>
  17373.         <reserved3> 0 </reserved3>
  17374.         <reserved2> 0 </reserved2>
  17375.         <reserved1> 0 </reserved1>
  17376.         <enabled> <true /> </enabled>
  17377.         <rect>
  17378.             <left>213</left>
  17379.             <top>277</top>
  17380.             <right>307</right>
  17381.             <bottom>299</bottom>
  17382.         </rect>
  17383.         <style>roundrect</style>
  17384.         <showName> <true /> </showName>
  17385.         <highlight> <false /> </highlight>
  17386.         <autoHighlight> <true /> </autoHighlight>
  17387.         <sharedHighlight> <true /> </sharedHighlight>
  17388.         <family>0</family>
  17389.         <titleWidth>0</titleWidth>
  17390.         <icon>0</icon>
  17391.         <textAlign>center</textAlign>
  17392.         <font>Geneva</font>
  17393.         <textSize>12</textSize>
  17394.         <textStyle>plain</textStyle>
  17395.         <name>Do it !!</name>
  17396.         <script>on mouseUp
  17397. repeat with i=2 to 5
  17398. if hilite of btn i
  17399. then
  17400. put short name of btn i into Operator
  17401. exit repeat
  17402. end if
  17403. end repeat
  17404.  
  17405. get ListLogic(cd fld 3,Operator,cd fld 4)
  17406.  
  17407. if first word of it is "Error"
  17408. then answer it
  17409. else put it into cd fld 5
  17410.  
  17411. end mouseUp
  17412. </script>
  17413.     </part>
  17414.     <part>
  17415.         <id>29</id>
  17416.         <type>button</type>
  17417.         <visible> <false /> </visible>
  17418.         <reserved5> 0 </reserved5>
  17419.         <reserved4> 0 </reserved4>
  17420.         <reserved3> 0 </reserved3>
  17421.         <reserved2> 0 </reserved2>
  17422.         <reserved1> 0 </reserved1>
  17423.         <enabled> <true /> </enabled>
  17424.         <rect>
  17425.             <left>451</left>
  17426.             <top>5</top>
  17427.             <right>506</right>
  17428.             <bottom>55</bottom>
  17429.         </rect>
  17430.         <style>rectangle</style>
  17431.         <showName> <true /> </showName>
  17432.         <highlight> <false /> </highlight>
  17433.         <autoHighlight> <true /> </autoHighlight>
  17434.         <sharedHighlight> <true /> </sharedHighlight>
  17435.         <family>0</family>
  17436.         <titleWidth>0</titleWidth>
  17437.         <icon>27056</icon>
  17438.         <textAlign>center</textAlign>
  17439.         <font>Chicago</font>
  17440.         <textSize>12</textSize>
  17441.         <textStyle>plain</textStyle>
  17442.         <name>X-Index</name>
  17443.         <script>on mouseUp
  17444. doIndex
  17445. end mouseUp
  17446.  
  17447. </script>
  17448.     </part>
  17449.     <content>
  17450.         <layer>card</layer>
  17451.         <id>1</id>
  17452.         <text>
  17453.  
  17454.                                                ListLogic 1.4
  17455.  
  17456.                                           by Fr├⌐d├⌐ric RINALDI
  17457.  
  17458.  
  17459.  
  17460. DESCRIPTION
  17461. ------------
  17462.   ListLogic XFCN allows logical comparison of two lists.
  17463.  
  17464.  
  17465. SYNTAX
  17466. --------
  17467.               ListLogic(<list 1>,<AND|OR|XOR|NOT>,<List 2>[,<case sens>])
  17468.  
  17469.  
  17470. PARAMETERS
  17471. ------------
  17472.    List 1 and 2 can be items or lines lists.
  17473.  
  17474.    Second parameter defines the logical test. For example, with "1,2,3" and "3,4,5" as lists, returned values will be :
  17475.  
  17476.     AND : "3"                  entries in both list 1 AND list 2
  17477.     OR   : "1,2,3,4,5"     entries in list 1 OR list 2
  17478.     XOR : "1,2,4,5"        entries in list 1 OR list 2, but not in both
  17479.     NOT : "1,2"               entries in list 1 but NOT in list 2
  17480.  
  17481.    Case sens. can be true or false, and defines if the search must be case sensitive (true) or not (false). Default is false.
  17482.  
  17483.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  17484.  
  17485. USING
  17486. -----
  17487.    The XFCN returns a list of logically compared values, using the same list separator as input. The comparison is not case sensitive.
  17488.  
  17489. If an error occurs, ListLogic can return :
  17490.  
  17491.      "Error : Couln't build result"
  17492.      "Error : Missing parameter(s)"
  17493.      "Error : Operator must be AND|OR|XOR|NOT"
  17494.      "Error : Both lists must have same separator"
  17495.  
  17496.  
  17497. HISTORY
  17498. --------
  17499. 1.4                                                                                            03/17/92
  17500. ΓÇó Enhanced delimiter detection
  17501. ΓÇó Use of the Script Mgr to get the word boundaries
  17502.  
  17503. 1.3
  17504. ΓÇó Fixed bug with empty lists
  17505.  
  17506. 1.2
  17507. ΓÇó Now accepts empty list as parameter
  17508. ΓÇó fixed floating pointer bug
  17509.  
  17510. 1.1
  17511. ΓÇó Added case sensitive param
  17512. </text>
  17513.     </content>
  17514.     <content>
  17515.         <layer>card</layer>
  17516.         <id>16</id>
  17517.         <text>List 1 :
  17518.  
  17519.  
  17520.  
  17521.  
  17522. List 2 :
  17523.  
  17524.  
  17525.  
  17526. Result :</text>
  17527.     </content>
  17528.     <content>
  17529.         <layer>card</layer>
  17530.         <id>18</id>
  17531.         <text>1,2,3,toto,titi</text>
  17532.     </content>
  17533.     <content>
  17534.         <layer>card</layer>
  17535.         <id>21</id>
  17536.         <text>3,4,5,titi,tutu</text>
  17537.     </content>
  17538.     <content>
  17539.         <layer>card</layer>
  17540.         <id>22</id>
  17541.         <text>1,2,toto</text>
  17542.     </content>
  17543.     <name></name>
  17544.     <script>on SetBtn
  17545. repeat with i=2 to 5
  17546. set hilite of btn i to (number of the target = i)
  17547. end repeat
  17548. end SetBtn</script>
  17549. </card>
  17550.  
  17551.  
  17552. card_32741.xml
  17553. <?xml version="1.0" encoding="utf-8" ?>
  17554. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  17555. <card>
  17556.     <id>32741</id>
  17557.     <filler1>0</filler1>
  17558.     <bitmap>BMAP_49587.pbm</bitmap>
  17559.     <cantDelete> <false /> </cantDelete>
  17560.     <showPict> <true /> </showPict>
  17561.     <dontSearch> <false /> </dontSearch>
  17562.     <owner>46925</owner>
  17563.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  17564.     <part>
  17565.         <id>1</id>
  17566.         <type>field</type>
  17567.         <visible> <true /> </visible>
  17568.         <dontWrap> <false /> </dontWrap>
  17569.         <dontSearch> <false /> </dontSearch>
  17570.         <sharedText> <false /> </sharedText>
  17571.         <fixedLineHeight> <true /> </fixedLineHeight>
  17572.         <autoTab> <false /> </autoTab>
  17573.         <lockText> <true /> </lockText>
  17574.         <rect>
  17575.             <left>69</left>
  17576.             <top>68</top>
  17577.             <right>434</right>
  17578.             <bottom>252</bottom>
  17579.         </rect>
  17580.         <style>scrolling</style>
  17581.         <autoSelect> <false /> </autoSelect>
  17582.         <showLines> <false /> </showLines>
  17583.         <wideMargins> <false /> </wideMargins>
  17584.         <multipleLines> <false /> </multipleLines>
  17585.         <reservedFamily> 0 </reservedFamily>
  17586.         <titleWidth>0</titleWidth>
  17587.         <icon>0</icon>
  17588.         <textAlign>left</textAlign>
  17589.         <font>Geneva</font>
  17590.         <textSize>9</textSize>
  17591.         <textStyle>plain</textStyle>
  17592.         <textHeight>12</textHeight>
  17593.         <name></name>
  17594.         <script></script>
  17595.     </part>
  17596.     <part>
  17597.         <id>5</id>
  17598.         <type>button</type>
  17599.         <visible> <true /> </visible>
  17600.         <reserved5> 0 </reserved5>
  17601.         <reserved4> 0 </reserved4>
  17602.         <reserved3> 0 </reserved3>
  17603.         <reserved2> 0 </reserved2>
  17604.         <reserved1> 0 </reserved1>
  17605.         <enabled> <true /> </enabled>
  17606.         <rect>
  17607.             <left>174</left>
  17608.             <top>281</top>
  17609.             <right>343</right>
  17610.             <bottom>311</bottom>
  17611.         </rect>
  17612.         <style>roundrect</style>
  17613.         <showName> <true /> </showName>
  17614.         <highlight> <false /> </highlight>
  17615.         <autoHighlight> <true /> </autoHighlight>
  17616.         <sharedHighlight> <true /> </sharedHighlight>
  17617.         <family>0</family>
  17618.         <titleWidth>0</titleWidth>
  17619.         <icon>0</icon>
  17620.         <textAlign>center</textAlign>
  17621.         <font>Chicago</font>
  17622.         <textSize>12</textSize>
  17623.         <textStyle>plain</textStyle>
  17624.         <name>Listoid</name>
  17625.         <script>on mouseUp
  17626. if there is not a window "TheList"
  17627. then
  17628. set cursor to watch
  17629. Listoid "TheList",cd fld "List","dis","Select it :","red,yellow"
  17630. put the result
  17631. end if
  17632. end mouseUp</script>
  17633.     </part>
  17634.     <part>
  17635.         <id>16</id>
  17636.         <type>field</type>
  17637.         <visible> <true /> </visible>
  17638.         <dontWrap> <false /> </dontWrap>
  17639.         <dontSearch> <false /> </dontSearch>
  17640.         <sharedText> <false /> </sharedText>
  17641.         <fixedLineHeight> <true /> </fixedLineHeight>
  17642.         <autoTab> <false /> </autoTab>
  17643.         <lockText> <true /> </lockText>
  17644.         <rect>
  17645.             <left>417</left>
  17646.             <top>256</top>
  17647.             <right>512</right>
  17648.             <bottom>342</bottom>
  17649.         </rect>
  17650.         <style>scrolling</style>
  17651.         <autoSelect> <false /> </autoSelect>
  17652.         <showLines> <false /> </showLines>
  17653.         <wideMargins> <false /> </wideMargins>
  17654.         <multipleLines> <false /> </multipleLines>
  17655.         <reservedFamily> 0 </reservedFamily>
  17656.         <titleWidth>0</titleWidth>
  17657.         <icon>0</icon>
  17658.         <textAlign>left</textAlign>
  17659.         <font>Geneva</font>
  17660.         <textSize>9</textSize>
  17661.         <textStyle>plain</textStyle>
  17662.         <textHeight>12</textHeight>
  17663.         <name>List</name>
  17664.         <script></script>
  17665.     </part>
  17666.     <content>
  17667.         <layer>card</layer>
  17668.         <id>1</id>
  17669.         <text><span class="style1">
  17670.                                                </span><span class="style3">Listoid 2.8</span><span class="style1">
  17671.  
  17672.                                           </span><span class="style2">by Fr├⌐d├⌐ric RINALDI
  17673.  
  17674.   and the faithfull help of Beno├«t WIDEMANN for WDEF and CDEF resources</span><span class="style1">
  17675.  
  17676.  
  17677. </span><span class="style4">DESCRIPTION
  17678. </span><span class="style1">
  17679.   Listoid XCMD displays a list in a windoid.
  17680.  
  17681.  
  17682. </span><span class="style4">SYNTAX</span><span class="style1">
  17683.  
  17684.     Listoid  <WName>[,<List>[,<WStyle>][,<X,Y[,Z,T]>][,<NO|ONE|CON|DIS>]
  17685.               [,<selected line(s)>][<fontName[,size]>][<separator>][<prompt>]
  17686.               [,<alignment>][,"DontAllowReorg"]]
  17687.  
  17688.  
  17689. </span><span class="style4">PARAMETERS</span><span class="style1">
  17690.  
  17691.    Only first param is needed. Order of params 3 to 12 doesn't matter, since the XCMD is able to recognize them.
  17692.  
  17693.    </span><span class="style3">WName</span><span class="style1"> is a string giving the windoid name. Many windoids can be opened by using different names.
  17694.  
  17695.    </span><span class="style3">List</span><span class="style1"> is a return or comma delimited string that will be displayed. Listoid provides an automatic separator recognition.
  17696.  
  17697.    </span><span class="style3">WStyle</span><span class="style1"> is a string defining the window style. Allowed styles are : plain, zoom, roundRect, rect, shadow, windoid, windoidZoom, bigWindoid, bigWindoidZoom, Rinaldoid, RinaldoidZoom (Rinaldoid is the same as windoid, except that it displays the window title). All window styles are floating, except plain, zoom and roundRect. A windoid or Rinaldoid style window will have small scrollbars, while other styles will use standard size. Default is RinaldoidZoom if Rinaldoid WDEF resource is present, windoidZoom if not found.
  17698.  
  17699.    </span><span class="style3">X,Y[,Z,T]</span><span class="style1"> will be a point or a rect, and will define position and/or size of the windoid. Coordinated are card-relative. If omitted, windoid will appear with standard size at "0,10".
  17700.  
  17701.    </span><span class="style3">NO|ONE|CON|DIS</span><span class="style1"> defines the selection mode (no selection, one at a time, may but adjacent, many disjoint). Default is ONE.
  17702.  
  17703.    </span><span class="style3">selected line(s)</span><span class="style1"> is an integer or a comma separated list of integers. It defines the selected line(s) when the windoid appears. Default is 1, but 0 can be used to have no selection at start.
  17704.  
  17705.    </span><span class="style3">fontName[,size]</span><span class="style1"> is the name of font and its size to use. Default is Geneva 10.
  17706.  
  17707.    </span><span class="style3">separator</span><span class="style1"> is a single char allowing to specify a non-standard (Γëá comma or return) delimiter char.
  17708.  
  17709.    </span><span class="style3">prompt</span><span class="style1"> is a message string which will appear in the windoid right over the list. If omitted, the list will fill the whole windoid.
  17710.  
  17711.    </span><span class="style3">alignment</span><span class="style1"> defines the text alignment in the list. It can be "left", "right" or "center". Default is left.
  17712.  
  17713.    </span><span class="style3">Color</span><span class="style1"> is a one or two items string giving the foreground and background color. For each item, allowed values are the standard colors (black, white, blue, red, yellow, cyan, magenta, green), or a three word string corresponding to red, green and blue values (100 5624 28652). Default is "black,white".
  17714.  
  17715.    </span><span class="style3">DontAllowReorg</span><span class="style1"> allows to deactivate the list reorganizing feature whith Option key held down (default is activated).
  17716.  
  17717.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output).
  17718.  
  17719.  
  17720. </span><span class="style4">USING</span><span class="style1">
  17721.  
  17722.    Listoid is stand alone, no linked resource is needed. Meanwhile, this stack contains a WDEF and a CDEF resource that are recognized by the XCMD if present. The WDEF allows to have an enhanced windoid-type window displaying title, while the CDEF is useful to get nice-looking scroll arrows for small scroll bars. So, these resources are optional, and for aesthetic purpose only. If you copy them, their ID can be set to any value but don't change their name.
  17723.  
  17724. </span><span class="style3">HINT</span><span class="style1"> : 
  17725.   If you use a rect ot shadow style window, placing it on a card can simulate a smart HyperCard list field.
  17726.  
  17727.    If no rectangle param is used, the size of the window will be set accordingly to the longest string contained in the list.
  17728.  
  17729. </span><span class="style3">HINT</span><span class="style1"> :
  17730.    the card script contains a "on keyDown" handler that allows selection of first matching item when typing a key in conjunction with option key. Moreover, while holding the option key down, the arrow keys allow to move in the list, return or enter to simulate a double-clic.
  17731.  
  17732.    It is now possible to send any string to search for to the window using :
  17733.  
  17734. </span><span class="style5">           send "string" to window <WName></span><span class="style1">
  17735.  
  17736.    If the string is found, it will be highlighted int the list. Look for "on keyDown" handler in the card script, type option+Key to try it.
  17737.  
  17738. </span><span class="style3">OTHER HINT</span><span class="style1"> :
  17739.    Holding the optionKey when clicking on selected item(s) will allow list reorganization. Just drag the outlined cells over the list, and all of them will be moved right where the black line appears. Releasing the optionKey at any moment cancels the current move.
  17740.  
  17741.  
  17742. </span><span class="style4">MESSAGES
  17743. </span><span class="style1">
  17744. </span><span class="style3">NOTE</span><span class="style1"> :
  17745.    in order to avoid HyperCard's confusion, existing quotes (") in WName param are automatically changed to single quote (').
  17746.  
  17747.   </span><span class="style3">listoidSelect</span><span class="style1"> : sent when Double-clicking on item(s) in the list, followed by the clicked word(s) and the Listoid name and ID (the latter only with HC 2.1). This message can be trapped using a handler :
  17748.  
  17749. </span><span class="style5">     on ListoidSelect What,WName,WID
  17750.        if  WName is "MyList" and What is ...
  17751.      end ListoidSelect
  17752. </span><span class="style1">
  17753.   </span><span class="style3">openListoid</span><span class="style1"> : sent when a windoid is opened, followed by the windoid name and ID (the latter only with HC 2.1). This allows to define window properties before it is shown, since the message can be trapped using a handler :
  17754.  
  17755. </span><span class="style5">     on openListoid WName,WID
  17756.        if WName is "MyWindow" then...
  17757.      end openListoid
  17758. </span><span class="style1">
  17759.   </span><span class="style3">closeListoid</span><span class="style1"> : sent when a windoid is closed, followed by the windoid name and ID (the latter only with HC 2.1). This message can be trapped using a handler :
  17760.  
  17761. </span><span class="style5">     on closeListoid WName,WID
  17762.        if WName is "MyWindow" then...
  17763.      end closeListoid
  17764. </span><span class="style1">
  17765.   </span><span class="style3">clickInListoid</span><span class="style1"> : sent when clicking and releaseing button in the windoid (mouseUp), followed by the Listoid name and ID (the latter only with HC 2.1). This message can be trapped using a handler :
  17766.  
  17767. </span><span class="style5">     on clickInListoid WName,WID
  17768.        if WName is "MyList"...
  17769.      end clickInListoid
  17770. </span><span class="style1">
  17771.   </span><span class="style3">clickInPrompt</span><span class="style1"> : sent when clicking on the prompt if any (mouseDown), followed by the Listoid name and ID (the latter only with HC 2.1). This message can be trapped using a handler :
  17772.  
  17773. </span><span class="style5">     on clickInPrompt WName,WID
  17774.        if WName is "MyList"...
  17775.      end clickInPrompt
  17776. </span><span class="style1">
  17777.  
  17778. </span><span class="style4">PROPERTIES
  17779. </span><span class="style1">
  17780.    Like any XWindow, Listoid has properties that can be get and set thru HyperTalk. 
  17781. </span><span class="style5">             properties of window "Infoid"
  17782. </span><span class="style1">
  17783. will return an item list of all allowed properties :
  17784.    ΓÇó loc                  : windoid's position according to card
  17785.    ΓÇó visible            : windoid's visibility
  17786.    ΓÇó text                : windoid's text
  17787.    ΓÇó rect                : windoid's position and size according to card
  17788.    ΓÇó selectedLine    : line number(s) selected
  17789.    ΓÇó selectionMode : selection mode (NO|ONE|CON|DIS)
  17790.    ΓÇó selectedText   : list of selected items (</span><span class="style3">get</span><span class="style1"> only)
  17791.    ΓÇó prompt            : prompt msg (can be changed only if already existing)
  17792.    ΓÇó messages        : list of windoid's messages
  17793.  
  17794. </span><span class="style3">NOTE</span><span class="style1">
  17795.    When using the "set text" property, the XCMD scans again the input text to find any new separator used, except if this one has been forced in the parameters of the original call.
  17796.  
  17797. </span><span class="style4">ERRORS
  17798. </span><span class="style1">
  17799. If an error occurs, external can return :
  17800.      "Error : Bad background color"
  17801.      "Error : Missing or empty window name"
  17802.      "Error : Duplicate window name"
  17803.      "Error : Empty parameter"
  17804.      "Error : Color defined twice"
  17805.      "Error : Bad Font size"
  17806.      "Error : Out of memory"
  17807.      "Error : This property cannot be set"
  17808.      "Error : Bad rectangle param"
  17809.      "Error : Bad selection mode param"
  17810.      "Error : Unknown property"
  17811.      "Error : Not found"
  17812.  
  17813. </span><span class="style4">HISTORY</span><span class="style1">
  17814. </span><span class="style3">2.8</span><span class="style1"> :                                                                                      </span><span class="style3">05/21/92</span><span class="style1">
  17815. ΓÇó Added </span><span class="style2">owner </span><span class="style1">property</span><span class="style2">
  17816. </span><span class="style1">
  17817. </span><span class="style3">2.7</span><span class="style1"> :                                                                                      </span><span class="style3">05/04/92</span><span class="style1">
  17818. ΓÇó Added </span><span class="style2">clickInPrompt</span><span class="style1"> message
  17819. ΓÇó Changed </span><span class="style2">controlKey</span><span class="style1"> handler for </span><span class="style2">keyDown</span><span class="style1"> in card script
  17820. </span><span class="style3">
  17821. 2.6</span><span class="style1"> :                                                                                      </span><span class="style3">04/27/92</span><span class="style1">
  17822. ΓÇó Fixed bug appearing on Macs without ColorQD
  17823. </span><span class="style3">
  17824. 2.5</span><span class="style1"> :                                                                                      </span><span class="style3">04/18/92</span><span class="style1">
  17825. ΓÇó Properties now return an error msg with incorrect param
  17826. ΓÇó </span><span class="style2">ClickInListoid</span><span class="style1"> sent now only with clicks inside the list
  17827. ΓÇó Added </span><span class="style2">messages </span><span class="style1">property
  17828. ΓÇó ID of window now returned along with all sent messages
  17829. ΓÇó Added "Error : Not found" when sent string is not found
  17830. ΓÇó Added color support
  17831. </span><span class="style3">
  17832. 2.4</span><span class="style1"> :                                                                                      </span><span class="style3">03/07/92</span><span class="style1">
  17833. ΓÇó Handling of parameter defined separator when using "set text"
  17834. </span><span class="style3">
  17835. 2.3</span><span class="style1"> :                                                                                      </span><span class="style3">03/06/92</span><span class="style1">
  17836. ΓÇó Fixed default window position
  17837. ΓÇó Check for new separator with "set text of windowΓǪ"
  17838. ΓÇó Fixed property "set text of windowΓǪ"
  17839.  
  17840. </span><span class="style3">2.2</span><span class="style1"> :                                                                                      </span><span class="style3">02/23/92</span><span class="style1">
  17841. ΓÇó Fixed selectedLine property result when no current selection
  17842. ΓÇó Fixed separator parser
  17843. ΓÇó No more CURS resource creation
  17844. ΓÇó Added text alignment param
  17845.  
  17846. </span><span class="style3">2.1</span><span class="style1"> :                                                                                      </span><span class="style3">10/10/91</span><span class="style1">
  17847. ΓÇó Fixed searching routine for multi-words strings
  17848. ΓÇó Enhanced handling of ghost cursor
  17849. ΓÇó Space recognized as default separator
  17850.  
  17851. </span><span class="style3">2.0</span><span class="style1"> :                                                                                         </span><span class="style3">8/15/91</span><span class="style1">
  17852. ΓÇó Change zoom behaviour to resize window according to screen height
  17853. ΓÇó CURS resource created only if "DontAllowReorg" param not passed
  17854. </span><span class="style3">
  17855. 1.9</span><span class="style1"> :                                                                                         </span><span class="style3">8/14/91</span><span class="style1">
  17856. ΓÇó Added "DontAllowReorg" parameter
  17857. ΓÇó Fixed CURS resource adding
  17858. ΓÇó Double quote always replaced by single quote in the window name
  17859. ΓÇó Added "=" online help parameter
  17860. ΓÇó Added window ID (for HC 2.1 only) passed along with "OpenListoid" and 
  17861.    "CloseListoid" messages
  17862.  
  17863. </span><span class="style3">1.8</span><span class="style1"> :                                                                                         </span><span class="style3">6/14/91</span><span class="style1">
  17864. ΓÇó Fixed font changing with lock Screen (bug due to HC itself)
  17865. ΓÇó Fixed cell size calculation
  17866. ΓÇó ClicInListoid renamed clic</span><span class="style4">k</span><span class="style1">InListoid
  17867. ΓÇó clickInListoid message now sent after selection is done
  17868. ΓÇó Added items moving feature
  17869. ΓÇó Added prompt in the windoid
  17870. ΓÇó Added separator and prompt params
  17871. ΓÇó Added prompt property
  17872.  
  17873. </span><span class="style3">1.7</span><span class="style1"> :
  17874. ΓÇó Fixed windoid show/hide when switching
  17875. ΓÇó Fixed search bug with empty cells
  17876. ΓÇó Unsuccessfull search deselects all cells
  17877. ΓÇó Fixed CellRect when rect param passed
  17878. ΓÇó Added clicInListoid message
  17879. ΓÇó Added selectedText property
  17880. ΓÇó Fixed non-floating windows activation
  17881.  
  17882. </span><span class="style3">1.6</span><span class="style1"> :
  17883. ΓÇó Added arrow key moving and validation
  17884.  
  17885. </span><span class="style3">1.5</span><span class="style1"> :
  17886. ΓÇó changed inContent cursor
  17887.  
  17888. </span><span class="style3">1.4</span><span class="style1"> :
  17889. ΓÇó Added window style parameter
  17890. ΓÇó Added "openListoid" message
  17891. ΓÇó Added searching capabilities
  17892. ΓÇó Added quote filter for ListoidSelect message parameters
  17893. ΓÇó Fixed rect/globalRect property to not show window if invisible
  17894. ΓÇó Added support of Rinaldoid WDEF and CDEF
  17895.  
  17896. </span><span class="style3">1.3</span><span class="style1"> :
  17897. ΓÇó Added font name and size parameter
  17898.  
  17899. </span><span class="style3">1.1</span><span class="style1"> :
  17900. ΓÇó Window title is now displayed
  17901. ΓÇó Added window name parameter
  17902. ΓÇó Window name is passed along with ListoidSelect message.
  17903. ΓÇó Added closeListoid message
  17904. </span></text>
  17905.     </content>
  17906.     <content>
  17907.         <layer>card</layer>
  17908.         <id>16</id>
  17909.         <text>About
  17910. ADBLights
  17911. Aux Window
  17912. BarButton
  17913. BeepSound
  17914. BreakSport
  17915. ChangeCurs
  17916. ChangeMenu
  17917. CheckMenu
  17918. CloseResFork
  17919. Color
  17920. Columnize
  17921. CombineFiles
  17922. CommInit
  17923. CommWrite
  17924. HyperSound
  17925. ImportPICT
  17926. InitMIDI
  17927. KillRes
  17928. KillResID
  17929. LookupAT
  17930. MakeICON
  17931. MakeRandom
  17932. MenuChange
  17933. MenuCheck
  17934. MenuInsert
  17935. MenuInstall
  17936. MenuMgr
  17937. MenuRemove
  17938. MenuSet
  17939. ModDialog
  17940. ModResCopy
  17941. Mount
  17942. MultiScroll
  17943. MungeMCTB
  17944. NewFolder
  17945. OpenSPort
  17946. PopUpPicture
  17947. PostEvent
  17948. PrField
  17949. PrintClip
  17950. PrintField
  17951. PrintFld
  17952. Printrect
  17953. PrintText
  17954. Progress
  17955. ProgressPrompt
  17956. Prompt
  17957. PutAlert
  17958. PutClipboard
  17959. ReceiveAT
  17960. RegisterAT
  17961. RenameFile
  17962. ResChngInfo
  17963. ResCopy
  17964. ResCopyTypes
  17965. ResDelete
  17966. ResetMIDI
  17967. ResetPrinter
  17968. ResetSPort
  17969. Restart
  17970. SafeShutDown
  17971. Say
  17972. SayPhonetic
  17973. Scan
  17974. SendAT
  17975. SendSerial
  17976. SendSPort
  17977. Set
  17978. SetDesk
  17979. SetDialog
  17980. SetMode
  17981. SetPitch
  17982. SetPVolume
  17983. SetRate
  17984. SetVolume
  17985. ShowAlert
  17986. ShowCursor
  17987. ShowDialog
  17988. ShowMenu
  17989. ShutDown
  17990. SoundCapToRes
  17991. Speak
  17992. STAR
  17993. StatusDialog
  17994. StdFile
  17995. StopTabs
  17996. Suspendinstall
  17997. Talk
  17998. TalkConvert
  17999. TalkPhonetic
  18000. TextStream
  18001. TitleBar
  18002. TrapReturn
  18003. TurnSpeechOff
  18004. TurnSpeechOn
  18005. TxMIDI
  18006. Unmount
  18007. Xclean
  18008. XprintField
  18009. ZoomRect</text>
  18010.     </content>
  18011.     <name></name>
  18012.     <script>on ListoidSelect What,Where
  18013. put Where & " : " & What
  18014. wait 1 sec
  18015. end ListoidSelect
  18016.  
  18017. on closeListoid Which
  18018. put "You closed windoid ΓÇ£" & Which & "ΓÇ¥"
  18019. end closeListoid
  18020.  
  18021.  
  18022. on keyDown What
  18023. if there is a window "TheList" and the optionKey is down
  18024. then
  18025. get offset(What,"├ª├ƒ┬⌐Γêé├¬╞Æ∩¼ü├î├«├Å├ê┬¼┬╡~┼ô╧ÇΓÇí┬«├ÆΓÇá┬║ΓùèΓÇ╣Γëê├Ü├é")
  18026.  
  18027. if it Γëá 0
  18028. then put numToChar(it + 64) into What
  18029.  
  18030. send What to window "TheList"
  18031. else pass keyDown
  18032. end keyDown
  18033.  
  18034.  
  18035. on clickInListoid Which
  18036. put "You clicked in windoid ΓÇ£" & Which & "ΓÇ¥"
  18037. end clickInListoid</script>
  18038. </card>
  18039.  
  18040.  
  18041. card_33076.xml
  18042. <?xml version="1.0" encoding="utf-8" ?>
  18043. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  18044. <card>
  18045.     <id>33076</id>
  18046.     <filler1>0</filler1>
  18047.     <bitmap>BMAP_33314.pbm</bitmap>
  18048.     <cantDelete> <false /> </cantDelete>
  18049.     <showPict> <true /> </showPict>
  18050.     <dontSearch> <false /> </dontSearch>
  18051.     <owner>46925</owner>
  18052.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  18053.     <part>
  18054.         <id>5</id>
  18055.         <type>button</type>
  18056.         <visible> <true /> </visible>
  18057.         <reserved5> 0 </reserved5>
  18058.         <reserved4> 0 </reserved4>
  18059.         <reserved3> 0 </reserved3>
  18060.         <reserved2> 0 </reserved2>
  18061.         <reserved1> 0 </reserved1>
  18062.         <enabled> <true /> </enabled>
  18063.         <rect>
  18064.             <left>185</left>
  18065.             <top>290</top>
  18066.             <right>345</right>
  18067.             <bottom>307</bottom>
  18068.         </rect>
  18069.         <style>roundrect</style>
  18070.         <showName> <true /> </showName>
  18071.         <highlight> <false /> </highlight>
  18072.         <autoHighlight> <true /> </autoHighlight>
  18073.         <sharedHighlight> <true /> </sharedHighlight>
  18074.         <family>0</family>
  18075.         <titleWidth>0</titleWidth>
  18076.         <icon>0</icon>
  18077.         <textAlign>center</textAlign>
  18078.         <font>Geneva</font>
  18079.         <textSize>12</textSize>
  18080.         <textStyle>plain</textStyle>
  18081.         <name>ListSelect Test >></name>
  18082.         <script>on mouseUp
  18083. global ListSelectExit
  18084. put "get ListSelect (" & inQ(cd fld 1) & ",cd fld 2" into Cmd
  18085. repeat with i=3 to 7
  18086. if hilite of btn i
  18087. then
  18088. if cd fld i is in "return,tab,linefeed,formfeed"
  18089. then put "," & cd fld i after Cmd
  18090. else put "," & inQ(cd fld i) after Cmd
  18091. end if
  18092. end repeat
  18093. put ")" after Cmd
  18094. put cmd
  18095. do Cmd
  18096. put it into cd fld 8
  18097. put ListSelectExit into cd fld "Exit"
  18098. end mouseUp
  18099.  
  18100. function inQ what
  18101. return quote & what & quote
  18102. end inQ</script>
  18103.     </part>
  18104.     <part>
  18105.         <id>8</id>
  18106.         <type>field</type>
  18107.         <visible> <true /> </visible>
  18108.         <dontWrap> <false /> </dontWrap>
  18109.         <dontSearch> <false /> </dontSearch>
  18110.         <sharedText> <false /> </sharedText>
  18111.         <fixedLineHeight> <true /> </fixedLineHeight>
  18112.         <autoTab> <true /> </autoTab>
  18113.         <lockText> <false /> </lockText>
  18114.         <rect>
  18115.             <left>51</left>
  18116.             <top>256</top>
  18117.             <right>91</right>
  18118.             <bottom>271</bottom>
  18119.         </rect>
  18120.         <style>rectangle</style>
  18121.         <autoSelect> <false /> </autoSelect>
  18122.         <showLines> <false /> </showLines>
  18123.         <wideMargins> <false /> </wideMargins>
  18124.         <multipleLines> <false /> </multipleLines>
  18125.         <reservedFamily> 0 </reservedFamily>
  18126.         <titleWidth>0</titleWidth>
  18127.         <icon>0</icon>
  18128.         <textAlign>center</textAlign>
  18129.         <font>Geneva</font>
  18130.         <textSize>9</textSize>
  18131.         <textStyle>plain</textStyle>
  18132.         <textHeight>12</textHeight>
  18133.         <name></name>
  18134.         <script></script>
  18135.     </part>
  18136.     <part>
  18137.         <id>9</id>
  18138.         <type>field</type>
  18139.         <visible> <true /> </visible>
  18140.         <dontWrap> <false /> </dontWrap>
  18141.         <dontSearch> <false /> </dontSearch>
  18142.         <sharedText> <false /> </sharedText>
  18143.         <fixedLineHeight> <true /> </fixedLineHeight>
  18144.         <autoTab> <false /> </autoTab>
  18145.         <lockText> <false /> </lockText>
  18146.         <rect>
  18147.             <left>92</left>
  18148.             <top>256</top>
  18149.             <right>180</right>
  18150.             <bottom>342</bottom>
  18151.         </rect>
  18152.         <style>scrolling</style>
  18153.         <autoSelect> <false /> </autoSelect>
  18154.         <showLines> <false /> </showLines>
  18155.         <wideMargins> <false /> </wideMargins>
  18156.         <multipleLines> <false /> </multipleLines>
  18157.         <reservedFamily> 0 </reservedFamily>
  18158.         <titleWidth>0</titleWidth>
  18159.         <icon>0</icon>
  18160.         <textAlign>left</textAlign>
  18161.         <font>Geneva</font>
  18162.         <textSize>9</textSize>
  18163.         <textStyle>plain</textStyle>
  18164.         <textHeight>12</textHeight>
  18165.         <name></name>
  18166.         <script></script>
  18167.     </part>
  18168.     <part>
  18169.         <id>10</id>
  18170.         <type>field</type>
  18171.         <visible> <true /> </visible>
  18172.         <dontWrap> <false /> </dontWrap>
  18173.         <dontSearch> <false /> </dontSearch>
  18174.         <sharedText> <false /> </sharedText>
  18175.         <fixedLineHeight> <true /> </fixedLineHeight>
  18176.         <autoTab> <true /> </autoTab>
  18177.         <lockText> <false /> </lockText>
  18178.         <rect>
  18179.             <left>181</left>
  18180.             <top>256</top>
  18181.             <right>238</right>
  18182.             <bottom>271</bottom>
  18183.         </rect>
  18184.         <style>rectangle</style>
  18185.         <autoSelect> <false /> </autoSelect>
  18186.         <showLines> <false /> </showLines>
  18187.         <wideMargins> <false /> </wideMargins>
  18188.         <multipleLines> <false /> </multipleLines>
  18189.         <reservedFamily> 0 </reservedFamily>
  18190.         <titleWidth>0</titleWidth>
  18191.         <icon>0</icon>
  18192.         <textAlign>left</textAlign>
  18193.         <font>Geneva</font>
  18194.         <textSize>9</textSize>
  18195.         <textStyle>plain</textStyle>
  18196.         <textHeight>12</textHeight>
  18197.         <name></name>
  18198.         <script></script>
  18199.     </part>
  18200.     <part>
  18201.         <id>11</id>
  18202.         <type>field</type>
  18203.         <visible> <true /> </visible>
  18204.         <dontWrap> <false /> </dontWrap>
  18205.         <dontSearch> <false /> </dontSearch>
  18206.         <sharedText> <false /> </sharedText>
  18207.         <fixedLineHeight> <true /> </fixedLineHeight>
  18208.         <autoTab> <true /> </autoTab>
  18209.         <lockText> <false /> </lockText>
  18210.         <rect>
  18211.             <left>242</left>
  18212.             <top>256</top>
  18213.             <right>299</right>
  18214.             <bottom>271</bottom>
  18215.         </rect>
  18216.         <style>rectangle</style>
  18217.         <autoSelect> <false /> </autoSelect>
  18218.         <showLines> <false /> </showLines>
  18219.         <wideMargins> <false /> </wideMargins>
  18220.         <multipleLines> <false /> </multipleLines>
  18221.         <reservedFamily> 0 </reservedFamily>
  18222.         <titleWidth>0</titleWidth>
  18223.         <icon>0</icon>
  18224.         <textAlign>left</textAlign>
  18225.         <font>Geneva</font>
  18226.         <textSize>9</textSize>
  18227.         <textStyle>plain</textStyle>
  18228.         <textHeight>12</textHeight>
  18229.         <name></name>
  18230.         <script></script>
  18231.     </part>
  18232.     <part>
  18233.         <id>12</id>
  18234.         <type>field</type>
  18235.         <visible> <true /> </visible>
  18236.         <dontWrap> <false /> </dontWrap>
  18237.         <dontSearch> <false /> </dontSearch>
  18238.         <sharedText> <false /> </sharedText>
  18239.         <fixedLineHeight> <true /> </fixedLineHeight>
  18240.         <autoTab> <true /> </autoTab>
  18241.         <lockText> <false /> </lockText>
  18242.         <rect>
  18243.             <left>303</left>
  18244.             <top>256</top>
  18245.             <right>360</right>
  18246.             <bottom>271</bottom>
  18247.         </rect>
  18248.         <style>rectangle</style>
  18249.         <autoSelect> <false /> </autoSelect>
  18250.         <showLines> <false /> </showLines>
  18251.         <wideMargins> <false /> </wideMargins>
  18252.         <multipleLines> <false /> </multipleLines>
  18253.         <reservedFamily> 0 </reservedFamily>
  18254.         <titleWidth>0</titleWidth>
  18255.         <icon>0</icon>
  18256.         <textAlign>left</textAlign>
  18257.         <font>Geneva</font>
  18258.         <textSize>9</textSize>
  18259.         <textStyle>plain</textStyle>
  18260.         <textHeight>12</textHeight>
  18261.         <name></name>
  18262.         <script></script>
  18263.     </part>
  18264.     <part>
  18265.         <id>13</id>
  18266.         <type>field</type>
  18267.         <visible> <true /> </visible>
  18268.         <dontWrap> <false /> </dontWrap>
  18269.         <dontSearch> <false /> </dontSearch>
  18270.         <sharedText> <false /> </sharedText>
  18271.         <fixedLineHeight> <true /> </fixedLineHeight>
  18272.         <autoTab> <true /> </autoTab>
  18273.         <lockText> <false /> </lockText>
  18274.         <rect>
  18275.             <left>364</left>
  18276.             <top>256</top>
  18277.             <right>421</right>
  18278.             <bottom>271</bottom>
  18279.         </rect>
  18280.         <style>rectangle</style>
  18281.         <autoSelect> <false /> </autoSelect>
  18282.         <showLines> <false /> </showLines>
  18283.         <wideMargins> <false /> </wideMargins>
  18284.         <multipleLines> <false /> </multipleLines>
  18285.         <reservedFamily> 0 </reservedFamily>
  18286.         <titleWidth>0</titleWidth>
  18287.         <icon>0</icon>
  18288.         <textAlign>left</textAlign>
  18289.         <font>Geneva</font>
  18290.         <textSize>9</textSize>
  18291.         <textStyle>plain</textStyle>
  18292.         <textHeight>12</textHeight>
  18293.         <name></name>
  18294.         <script></script>
  18295.     </part>
  18296.     <part>
  18297.         <id>14</id>
  18298.         <type>field</type>
  18299.         <visible> <true /> </visible>
  18300.         <dontWrap> <false /> </dontWrap>
  18301.         <dontSearch> <false /> </dontSearch>
  18302.         <sharedText> <false /> </sharedText>
  18303.         <fixedLineHeight> <true /> </fixedLineHeight>
  18304.         <autoTab> <true /> </autoTab>
  18305.         <lockText> <false /> </lockText>
  18306.         <rect>
  18307.             <left>425</left>
  18308.             <top>256</top>
  18309.             <right>482</right>
  18310.             <bottom>271</bottom>
  18311.         </rect>
  18312.         <style>rectangle</style>
  18313.         <autoSelect> <false /> </autoSelect>
  18314.         <showLines> <false /> </showLines>
  18315.         <wideMargins> <false /> </wideMargins>
  18316.         <multipleLines> <false /> </multipleLines>
  18317.         <reservedFamily> 0 </reservedFamily>
  18318.         <titleWidth>0</titleWidth>
  18319.         <icon>0</icon>
  18320.         <textAlign>left</textAlign>
  18321.         <font>Geneva</font>
  18322.         <textSize>9</textSize>
  18323.         <textStyle>plain</textStyle>
  18324.         <textHeight>12</textHeight>
  18325.         <name></name>
  18326.         <script></script>
  18327.     </part>
  18328.     <part>
  18329.         <id>15</id>
  18330.         <type>field</type>
  18331.         <visible> <true /> </visible>
  18332.         <dontWrap> <false /> </dontWrap>
  18333.         <dontSearch> <false /> </dontSearch>
  18334.         <sharedText> <false /> </sharedText>
  18335.         <fixedLineHeight> <true /> </fixedLineHeight>
  18336.         <autoTab> <false /> </autoTab>
  18337.         <lockText> <true /> </lockText>
  18338.         <rect>
  18339.             <left>353</left>
  18340.             <top>290</top>
  18341.             <right>492</right>
  18342.             <bottom>342</bottom>
  18343.         </rect>
  18344.         <style>scrolling</style>
  18345.         <autoSelect> <false /> </autoSelect>
  18346.         <showLines> <false /> </showLines>
  18347.         <wideMargins> <false /> </wideMargins>
  18348.         <multipleLines> <false /> </multipleLines>
  18349.         <reservedFamily> 0 </reservedFamily>
  18350.         <titleWidth>0</titleWidth>
  18351.         <icon>0</icon>
  18352.         <textAlign>left</textAlign>
  18353.         <font>Geneva</font>
  18354.         <textSize>9</textSize>
  18355.         <textStyle>plain</textStyle>
  18356.         <textHeight>12</textHeight>
  18357.         <name></name>
  18358.         <script></script>
  18359.     </part>
  18360.     <part>
  18361.         <id>1</id>
  18362.         <type>field</type>
  18363.         <visible> <true /> </visible>
  18364.         <dontWrap> <false /> </dontWrap>
  18365.         <dontSearch> <false /> </dontSearch>
  18366.         <sharedText> <false /> </sharedText>
  18367.         <fixedLineHeight> <true /> </fixedLineHeight>
  18368.         <autoTab> <false /> </autoTab>
  18369.         <lockText> <true /> </lockText>
  18370.         <rect>
  18371.             <left>69</left>
  18372.             <top>68</top>
  18373.             <right>434</right>
  18374.             <bottom>252</bottom>
  18375.         </rect>
  18376.         <style>scrolling</style>
  18377.         <autoSelect> <false /> </autoSelect>
  18378.         <showLines> <false /> </showLines>
  18379.         <wideMargins> <false /> </wideMargins>
  18380.         <multipleLines> <false /> </multipleLines>
  18381.         <reservedFamily> 0 </reservedFamily>
  18382.         <titleWidth>0</titleWidth>
  18383.         <icon>0</icon>
  18384.         <textAlign>left</textAlign>
  18385.         <font>Geneva</font>
  18386.         <textSize>9</textSize>
  18387.         <textStyle>plain</textStyle>
  18388.         <textHeight>12</textHeight>
  18389.         <name></name>
  18390.         <script></script>
  18391.     </part>
  18392.     <part>
  18393.         <id>22</id>
  18394.         <type>button</type>
  18395.         <visible> <false /> </visible>
  18396.         <reserved5> 0 </reserved5>
  18397.         <reserved4> 0 </reserved4>
  18398.         <reserved3> 0 </reserved3>
  18399.         <reserved2> 0 </reserved2>
  18400.         <reserved1> 0 </reserved1>
  18401.         <enabled> <true /> </enabled>
  18402.         <rect>
  18403.             <left>0</left>
  18404.             <top>326</top>
  18405.             <right>18</right>
  18406.             <bottom>342</bottom>
  18407.         </rect>
  18408.         <style>checkbox</style>
  18409.         <showName> <false /> </showName>
  18410.         <highlight> <false /> </highlight>
  18411.         <autoHighlight> <true /> </autoHighlight>
  18412.         <sharedHighlight> <true /> </sharedHighlight>
  18413.         <family>0</family>
  18414.         <titleWidth>0</titleWidth>
  18415.         <icon>0</icon>
  18416.         <textAlign>center</textAlign>
  18417.         <font>Geneva</font>
  18418.         <textSize>12</textSize>
  18419.         <textStyle>plain</textStyle>
  18420.         <name></name>
  18421.         <script></script>
  18422.     </part>
  18423.     <part>
  18424.         <id>17</id>
  18425.         <type>button</type>
  18426.         <visible> <true /> </visible>
  18427.         <reserved5> 0 </reserved5>
  18428.         <reserved4> 0 </reserved4>
  18429.         <reserved3> 0 </reserved3>
  18430.         <reserved2> 0 </reserved2>
  18431.         <reserved1> 0 </reserved1>
  18432.         <enabled> <true /> </enabled>
  18433.         <rect>
  18434.             <left>200</left>
  18435.             <top>272</top>
  18436.             <right>218</right>
  18437.             <bottom>288</bottom>
  18438.         </rect>
  18439.         <style>checkbox</style>
  18440.         <showName> <false /> </showName>
  18441.         <highlight> <false /> </highlight>
  18442.         <autoHighlight> <true /> </autoHighlight>
  18443.         <sharedHighlight> <true /> </sharedHighlight>
  18444.         <family>0</family>
  18445.         <titleWidth>0</titleWidth>
  18446.         <icon>0</icon>
  18447.         <textAlign>center</textAlign>
  18448.         <font>Geneva</font>
  18449.         <textSize>12</textSize>
  18450.         <textStyle>plain</textStyle>
  18451.         <name></name>
  18452.         <script></script>
  18453.     </part>
  18454.     <part>
  18455.         <id>18</id>
  18456.         <type>button</type>
  18457.         <visible> <true /> </visible>
  18458.         <reserved5> 0 </reserved5>
  18459.         <reserved4> 0 </reserved4>
  18460.         <reserved3> 0 </reserved3>
  18461.         <reserved2> 0 </reserved2>
  18462.         <reserved1> 0 </reserved1>
  18463.         <enabled> <true /> </enabled>
  18464.         <rect>
  18465.             <left>262</left>
  18466.             <top>272</top>
  18467.             <right>280</right>
  18468.             <bottom>288</bottom>
  18469.         </rect>
  18470.         <style>checkbox</style>
  18471.         <showName> <false /> </showName>
  18472.         <highlight> <false /> </highlight>
  18473.         <autoHighlight> <true /> </autoHighlight>
  18474.         <sharedHighlight> <true /> </sharedHighlight>
  18475.         <family>0</family>
  18476.         <titleWidth>0</titleWidth>
  18477.         <icon>0</icon>
  18478.         <textAlign>center</textAlign>
  18479.         <font>Geneva</font>
  18480.         <textSize>12</textSize>
  18481.         <textStyle>plain</textStyle>
  18482.         <name></name>
  18483.         <script></script>
  18484.     </part>
  18485.     <part>
  18486.         <id>19</id>
  18487.         <type>button</type>
  18488.         <visible> <true /> </visible>
  18489.         <reserved5> 0 </reserved5>
  18490.         <reserved4> 0 </reserved4>
  18491.         <reserved3> 0 </reserved3>
  18492.         <reserved2> 0 </reserved2>
  18493.         <reserved1> 0 </reserved1>
  18494.         <enabled> <true /> </enabled>
  18495.         <rect>
  18496.             <left>323</left>
  18497.             <top>272</top>
  18498.             <right>341</right>
  18499.             <bottom>288</bottom>
  18500.         </rect>
  18501.         <style>checkbox</style>
  18502.         <showName> <false /> </showName>
  18503.         <highlight> <false /> </highlight>
  18504.         <autoHighlight> <true /> </autoHighlight>
  18505.         <sharedHighlight> <true /> </sharedHighlight>
  18506.         <family>0</family>
  18507.         <titleWidth>0</titleWidth>
  18508.         <icon>0</icon>
  18509.         <textAlign>center</textAlign>
  18510.         <font>Geneva</font>
  18511.         <textSize>12</textSize>
  18512.         <textStyle>plain</textStyle>
  18513.         <name></name>
  18514.         <script></script>
  18515.     </part>
  18516.     <part>
  18517.         <id>20</id>
  18518.         <type>button</type>
  18519.         <visible> <true /> </visible>
  18520.         <reserved5> 0 </reserved5>
  18521.         <reserved4> 0 </reserved4>
  18522.         <reserved3> 0 </reserved3>
  18523.         <reserved2> 0 </reserved2>
  18524.         <reserved1> 0 </reserved1>
  18525.         <enabled> <true /> </enabled>
  18526.         <rect>
  18527.             <left>385</left>
  18528.             <top>272</top>
  18529.             <right>403</right>
  18530.             <bottom>288</bottom>
  18531.         </rect>
  18532.         <style>checkbox</style>
  18533.         <showName> <false /> </showName>
  18534.         <highlight> <false /> </highlight>
  18535.         <autoHighlight> <true /> </autoHighlight>
  18536.         <sharedHighlight> <true /> </sharedHighlight>
  18537.         <family>0</family>
  18538.         <titleWidth>0</titleWidth>
  18539.         <icon>0</icon>
  18540.         <textAlign>center</textAlign>
  18541.         <font>Geneva</font>
  18542.         <textSize>12</textSize>
  18543.         <textStyle>plain</textStyle>
  18544.         <name></name>
  18545.         <script></script>
  18546.     </part>
  18547.     <part>
  18548.         <id>21</id>
  18549.         <type>button</type>
  18550.         <visible> <true /> </visible>
  18551.         <reserved5> 0 </reserved5>
  18552.         <reserved4> 0 </reserved4>
  18553.         <reserved3> 0 </reserved3>
  18554.         <reserved2> 0 </reserved2>
  18555.         <reserved1> 0 </reserved1>
  18556.         <enabled> <true /> </enabled>
  18557.         <rect>
  18558.             <left>447</left>
  18559.             <top>272</top>
  18560.             <right>465</right>
  18561.             <bottom>288</bottom>
  18562.         </rect>
  18563.         <style>checkbox</style>
  18564.         <showName> <false /> </showName>
  18565.         <highlight> <false /> </highlight>
  18566.         <autoHighlight> <true /> </autoHighlight>
  18567.         <sharedHighlight> <true /> </sharedHighlight>
  18568.         <family>0</family>
  18569.         <titleWidth>0</titleWidth>
  18570.         <icon>0</icon>
  18571.         <textAlign>center</textAlign>
  18572.         <font>Geneva</font>
  18573.         <textSize>12</textSize>
  18574.         <textStyle>plain</textStyle>
  18575.         <name></name>
  18576.         <script></script>
  18577.     </part>
  18578.     <part>
  18579.         <id>23</id>
  18580.         <type>button</type>
  18581.         <visible> <true /> </visible>
  18582.         <reserved5> 0 </reserved5>
  18583.         <reserved4> 0 </reserved4>
  18584.         <reserved3> 0 </reserved3>
  18585.         <reserved2> 0 </reserved2>
  18586.         <reserved1> 0 </reserved1>
  18587.         <enabled> <true /> </enabled>
  18588.         <rect>
  18589.             <left>185</left>
  18590.             <top>308</top>
  18591.             <right>345</right>
  18592.             <bottom>326</bottom>
  18593.         </rect>
  18594.         <style>roundrect</style>
  18595.         <showName> <true /> </showName>
  18596.         <highlight> <false /> </highlight>
  18597.         <autoHighlight> <true /> </autoHighlight>
  18598.         <sharedHighlight> <true /> </sharedHighlight>
  18599.         <family>0</family>
  18600.         <titleWidth>0</titleWidth>
  18601.         <icon>0</icon>
  18602.         <textAlign>center</textAlign>
  18603.         <font>Geneva</font>
  18604.         <textSize>12</textSize>
  18605.         <textStyle>plain</textStyle>
  18606.         <name>Automatic Demo</name>
  18607.         <script>on mouseUp
  18608. global ListSelectExit
  18609.  
  18610.  
  18611. put ListSelect("DIS",cd fld 2,"Geneva,9") into cd fld 8
  18612. put ListSelectExit into cd fld "Exit"
  18613.  
  18614. put ListSelect("1#","Here is a much longer string than before"&┬¼
  18615. return&cd fld 2,"Selet item :",return,"My Button") into cd fld 8
  18616. put ListSelectExit into cd fld "Exit"
  18617.  
  18618. put ListSelect("*CON",cd fld 2,"Select the item you want from the list :"┬¼
  18619. ,"OK","","0,0","Monaco") into cd fld 8
  18620. put ListSelectExit into cd fld "Exit"
  18621.  
  18622. put ListSelect("*3#",cd fld 2,empty,return,"50,50,100,292",empty)┬¼
  18623. into cd fld 8
  18624. put ListSelectExit into cd fld "Exit"
  18625.  
  18626. put ListSelect("ONE",cd fld 2,"User dialog",600) into cd fld 8
  18627. put ListSelectExit into cd fld "Exit"
  18628.  
  18629. put ListSelect("DIS#",cd fld 2,"Hello","100,150,101,151",empty,empty)┬¼
  18630. into cd fld 8
  18631. put ListSelectExit into cd fld "Exit"
  18632.  
  18633. put ListSelect(3,cd fld 2,empty,"400,0,512,342") into cd fld 8
  18634. put ListSelectExit into cd fld "Exit"
  18635.  
  18636. end mouseUp
  18637. </script>
  18638.     </part>
  18639.     <part>
  18640.         <id>24</id>
  18641.         <type>field</type>
  18642.         <visible> <true /> </visible>
  18643.         <dontWrap> <false /> </dontWrap>
  18644.         <dontSearch> <false /> </dontSearch>
  18645.         <sharedText> <false /> </sharedText>
  18646.         <fixedLineHeight> <true /> </fixedLineHeight>
  18647.         <autoTab> <false /> </autoTab>
  18648.         <lockText> <true /> </lockText>
  18649.         <rect>
  18650.             <left>202</left>
  18651.             <top>329</top>
  18652.             <right>332</right>
  18653.             <bottom>342</bottom>
  18654.         </rect>
  18655.         <style>rectangle</style>
  18656.         <autoSelect> <false /> </autoSelect>
  18657.         <showLines> <false /> </showLines>
  18658.         <wideMargins> <false /> </wideMargins>
  18659.         <multipleLines> <false /> </multipleLines>
  18660.         <reservedFamily> 0 </reservedFamily>
  18661.         <titleWidth>0</titleWidth>
  18662.         <icon>0</icon>
  18663.         <textAlign>center</textAlign>
  18664.         <font>Geneva</font>
  18665.         <textSize>9</textSize>
  18666.         <textStyle>plain</textStyle>
  18667.         <textHeight>12</textHeight>
  18668.         <name>Exit</name>
  18669.         <script></script>
  18670.     </part>
  18671.     <content>
  18672.         <layer>card</layer>
  18673.         <id>1</id>
  18674.         <text>
  18675.  
  18676.                                              ListSelect 4.1
  18677.  
  18678.                                         by Fr├⌐d├⌐ric RINALDI
  18679.  
  18680.  
  18681. DESCRIPTION
  18682. ------------
  18683.   ListSelect is an XFCN allowing to choose one or many items within a list appearing in a dialog on the screen. The XFCN is stand-alone, meaning that no extra resources (DLOG or DITL) are needed, but it can use personnalized resources created by the user.
  18684.  
  18685.   Many powerful caracteristics make it the developer's best friend :
  18686.  
  18687. ΓÇó 4 times quicker than DoList
  18688. ΓÇó The input list can be a comma or return separated list, without need to tell it to the XFCN
  18689. ΓÇó Allows to select an item by typing its first letter on the keyboard
  18690. ΓÇó Dialog's Font and Fontsize can be choosen
  18691. ΓÇó Sorted diplayed list on demand
  18692. ΓÇó Selection can be unique,  multiple continuous ou multiple discontinuous
  18693. ΓÇó The output can return item names or numbers
  18694. ΓÇó The output list separator can be any char (comma, return, etc.)
  18695. ΓÇó Buttons' name can be modified by parameter passing
  18696. ΓÇó One ot both buttons can be hidden
  18697. ΓÇó Uses up and down arrows for moving
  18698. ΓÇó Allows multiple selection with Command + up and down arrows
  18699. ΓÇó Accepts Escape or Commande-Z to cancel, Enter, Return or double click to validate
  18700. ΓÇó Accepts Command-A to select all
  18701. ΓÇó Option + up or down arrow selects teh first or last list's element
  18702. ΓÇó The order of parameters 3 to 8 doesn't matter
  18703. ΓÇó Error messages are plenty and meaningful
  18704.  
  18705. Moreover, if you use automatic dialog creation :
  18706.  
  18707. ΓÇó The dialog's width is automatically adjusted to the longest list's element
  18708. (except if you define a new bound rectangle)
  18709. ΓÇó The prompt message is optional, and its place in the dialog is recovered by the list if you leave it empty
  18710. ΓÇó The prompt message can be of any length, the statText item is automati-cally adjusted
  18711. ΓÇó If both buttons are hidden, their place is recovered too
  18712. ΓÇó If only one button is hidden, the other is automatically centered
  18713. ΓÇó Dialog's default positionning is centered on the card window, but you can set it at any location
  18714. ΓÇó Dialog's rectangle can be defined exactly
  18715. ΓÇó Buttons are automatically superposed if the dialog isn't width enough to hold then juxtaposed
  18716. ΓÇó If the user defined rectangle is too small, defaut minimum rectangle is used
  18717.  
  18718. SYNTAX
  18719. -------
  18720. ListSelect(<mode>,<liste> [,"s=#[,#]"][,"NoDoubleClick"][,prompt][,OK][,Cancel][,loc|Rect][,sep][,DLOG ID][font[,size]])
  18721.  
  18722.  
  18723. PARAMETERS
  18724. ------------
  18725. Mode
  18726. "0" or "N[o]"   : no selection
  18727. "1" or "O[ne]" : unique selection
  18728. "2" or "C[on]" : multiple continuous selection
  18729. "3" or "D[is]"  : multiple discontinuous selection
  18730. If mode is preceeded by "*" char, the list will be sorted before diaplayed.
  18731. If mode is followed by "#" char, the output list will contain items' numbers,
  18732. and not their names. Remark that a sorted list returns item numbers of previous list's organization, so that you always can refer to it.
  18733.  
  18734. List
  18735.   Any return or comma delimited list container.
  18736.  
  18737. s=#[,#]
  18738.   An item string allowing to define the selected lines when the dialog pops. The list must be preceeded bty "s=".  Default is 1. Ex : "s=2,5"
  18739.  
  18740. NoDoubleClick
  18741.   With this param, the double-click in the list will have no action.
  18742.  
  18743. Prompt, OK and Cancel
  18744.   Any string, an empty string will hide the corresponding item in the dialog.
  18745.  
  18746. Loc|Rect
  18747.   X,Y are integer expressed in pixels corresponding to the topleft corner of the dialog
  18748. or
  18749.   X,Y,X',Y' are integer expressed in pixels corresponding to the topleft and bottomright corners of the dialog. With an user dialog, only X and Y will be used.
  18750.  
  18751. Sep
  18752.   Any character (return, tab, ",", etc.). The default one is comma.
  18753.  
  18754. DLOG ID
  18755.   Identifier of the DLOG resource created by the user, and following exactly these rules:
  18756.     - minimum 4 items in the dialog
  18757.     - Item #1 = validation button
  18758.     - Item #2 = cancel button
  18759.     - Item #3 = statText containing "^0"
  18760.     - Item #4 = UserItem which size will define the list's size. Its height 
  18761.        must be a multiple of the choosen Font's textHeight.
  18762.  
  18763. Font[,Size]
  18764.   A string corresponding to an existing Font name. A second item in this string allows to set the desired Font size.
  18765.  
  18766.    Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
  18767.  
  18768.  
  18769. USING
  18770. -----
  18771.   The XFCN return an item or an item list corresponding to the dialog's selection. This list will contain either names of items, either their numbers.
  18772. Default item separator is Comma, but anything else can be choosen by call.
  18773.   It is possible to know the way the user leaved the dialog by testing the global variable ListSelectExit set by the XFCN. This one will contain the name of the button used to leave (or "tabKey" if the user typed it). This is particularly useful when using resource DLOG, any additional active button item beeing manageable from the script.
  18774.  
  18775. If an error occurs, the ListSelect() will return :
  18776.      "Error : Bad Rectangle Parameter 1"
  18777.      "Error : Bad Rectangle Parameter 2"
  18778.      "Error : Bad Rectangle Parameter 3"
  18779.      "Error : Bad Rectangle Parameter 4"
  18780.      "Error : Missing Parameter(s)"
  18781.      "Error : Bad Mode Parameter"
  18782.      "Error : Bad Font size"
  18783.      "Error : Couldn't find DLOG Resource"
  18784.      "Error : Missing DITL Item(s)"
  18785.      "Error : Item #1 must be a button"
  18786.      "Error : Item #2 must be a button"
  18787.      "Error : Item #3 must be a statText"
  18788.      "Error : Item #4 must be a userItem"
  18789.      "Error : Out of memory"
  18790.  
  18791.  
  18792.  
  18793. TEST
  18794. -----
  18795.   Fill the different parameter fields below, and check the corresponding checkboxes if you want to use it.
  18796.  
  18797. ---------------------------------------------------------------------
  18798.                                          REVISIONS HISTORY
  18799.  
  18800. VERSION 4.1                                                                                 9/23/91
  18801. -----------
  18802. ΓÇó Fixed initial selection bug
  18803. ΓÇó Fixed bug appearing when first param xas wrong
  18804. ΓÇó Fixed bug appearing whith non-standard card size
  18805.  
  18806. VERSION 4.0.1                                                                              8/22/91
  18807. -----------
  18808. ΓÇó Added SetPort for SuperCard compatibility
  18809.  
  18810. VERSION 4.0                                                                                 8/16/91
  18811. -----------
  18812. ΓÇó Code completely cleaned
  18813. ΓÇó Better display speed
  18814. ΓÇó Added handling of extended keyboard keys to navigate in the list
  18815. ΓÇó Locked parameters for HC 2.0
  18816. ΓÇó Added "=" online help param
  18817.  
  18818. VERSION 3.9
  18819. ------------
  18820. ΓÇó Changed sort array indice
  18821. ΓÇó Added SetPort for SuperCard compatibility
  18822.  
  18823. VERSION 3.8
  18824. ------------
  18825. ΓÇó Internal enhancement
  18826.  
  18827. VERSION 3.7
  18828. ------------
  18829. ΓÇó Changed the way of passing the listHandle to FilterProc.
  18830. ΓÇó Fixed the anticipated validation.
  18831. ΓÇó Added the selected lines param.
  18832.  
  18833. VERSION 3.6
  18834. ------------
  18835. ΓÇó Fixed a bug appearing after validation of an empty selection.
  18836.  
  18837. VERSION 3.5
  18838. ------------
  18839. ΓÇó Use notification manager for HC 2.0
  18840.  
  18841. VERSION 3.4
  18842. -----------
  18843. ΓÇó Tab, Esc, Return & Enter are always recognized, even with many key typing
  18844.  
  18845. VERSION 3.3
  18846. -----------
  18847. ΓÇó NoDoubleClick param added to avoid double clicking in the list.
  18848. ΓÇó Coordinates are now allowed for custom dialog.
  18849. ΓÇó XFCN doesn't consume any byte in memory anymore
  18850. ΓÇó New, quicker sort routine
  18851.  
  18852. VERSION 3.2
  18853. -----------
  18854. ΓÇó Now fully compatible with SuperCard & Plus.
  18855. ΓÇó Internal result building enhanced.
  18856.  
  18857. VERSION 3.1
  18858. -----------
  18859. ΓÇó Tiny bug in parameter parsing fixed
  18860. ΓÇó ListSelectExit contains "Error" if an error happened
  18861.  
  18862. VERSION 3.0
  18863. -----------
  18864. ΓÇó Font and size choosing added
  18865. ΓÇó New mode parameters : ONE, CON, DIS for 1,2,3. Compatability with previous versions is preserved.
  18866. ΓÇó New mode NO (or 0) for a display without selection.
  18867. ΓÇó Optional sorting of the list implemented
  18868. ΓÇó Dialog's max width according to card
  18869. ΓÇó Largeur maximale du dialogue limit├⌐ ├á la taille de la carte.
  18870. ΓÇó Added possibility to handle buttons in DLOG resources
  18871. ΓÇó Many aesthetic and functionnal changes
  18872.  
  18873. VERSION 2.3
  18874. -----------
  18875. ΓÇó You don't need anymore to wait the dialog before beginning to type
  18876. ΓÇó The XFCN sets now a global variable named "ListSelectExit" that you can test to know the way the user exit the list. This global can contain :
  18877.    "Validated" : the user double-clicked, cliked on OK, typed Return or Enter
  18878.    "Cancelled" : the user clicked on CANCEL, typed ESCAPE key or Cmd-Z
  18879.    "TabKey"    : the user typed TAB key
  18880.    "Infos"        : you passed an info parameter (see below)
  18881. ΓÇó You can use two new first parameters :
  18882.    "!" : the XFCN returns version number and copyright information
  18883.    "?": the XFCN returns syntax help
  18884.  
  18885. VERSION 2.2
  18886. -----------
  18887. ΓÇó The XFCN uses now international resources for string comparison.
  18888. ΓÇó More than one character can be typed to select an items in the list.
  18889. ΓÇó Fixed a display bug when one or more empty items or lines start the list.
  18890.  
  18891. VERSION 2.1
  18892. -----------
  18893. ΓÇó No more DLOG et DITL resources needed, the XFCN creates them by itself.
  18894. </text>
  18895.     </content>
  18896.     <content>
  18897.         <layer>card</layer>
  18898.         <id>9</id>
  18899.         <text>ZoomRect
  18900. XprintField
  18901. Xclean
  18902. Unmount
  18903. TxMIDI
  18904. TurnSpeechOn
  18905. TurnSpeechOff
  18906. TrapReturn
  18907. TitleBar
  18908. TextStream
  18909. TalkPhonetic
  18910. TalkConvert
  18911. Talk
  18912. Suspendinstall
  18913. StopTabs
  18914. StdFile
  18915. StatusDialog
  18916. STAR
  18917. Speak
  18918. SoundCapToRes
  18919. ShutDown
  18920. ShowMenu
  18921. ShowDialog
  18922. ShowCursor
  18923. ShowAlert
  18924. SetVolume
  18925. SetRate
  18926. SetPVolume
  18927. SetPitch
  18928. SetMode
  18929. SetDialog
  18930. SetDesk
  18931. Set
  18932. SendSPort
  18933. SendSerial
  18934. SendAT
  18935. Scan
  18936. SayPhonetic
  18937. Say
  18938. SafeShutDown
  18939. Restart
  18940. ResetSPort
  18941. ResetPrinter
  18942. ResetMIDI
  18943. ResDelete
  18944. ResCopyTypes
  18945. ResCopy
  18946. ResChngInfo
  18947. RenameFile
  18948. RegisterAT
  18949. ReceiveAT
  18950. PutClipboard
  18951. PutAlert
  18952. Prompt
  18953. ProgressPrompt
  18954. Progress
  18955. PrintText
  18956. Printrect
  18957. PrintFld
  18958. PrintField
  18959. PrintClip
  18960. PrField
  18961. PostEvent
  18962. PopUpPicture
  18963. OpenSPort
  18964. NewFolder
  18965. MungeMCTB
  18966. MultiScroll
  18967. Mount
  18968. ModResCopy
  18969. ModDialog
  18970. MenuSet
  18971. MenuRemove
  18972. MenuMgr
  18973. MenuInstall
  18974. MenuInsert
  18975. MenuCheck
  18976. MenuChange
  18977. MakeRandom
  18978. MakeICON
  18979. LookupAT
  18980. KillResID
  18981. KillRes
  18982. InitMIDI
  18983. ImportPICT
  18984. HyperSound
  18985. CommWrite
  18986. CommInit
  18987. CombineFiles
  18988. Columnize
  18989. Color
  18990. CloseResFork
  18991. CheckMenu
  18992. ChangeMenu
  18993. ChangeCurs
  18994. BreakSport
  18995. BeepSound
  18996. BarButton
  18997. AuxWindow
  18998. ADBLights
  18999. About</text>
  19000.     </content>
  19001.     <content>
  19002.         <layer>card</layer>
  19003.         <id>8</id>
  19004.         <text>*DIS3.83.94.04.0.14.1</text>
  19005.     </content>
  19006.     <content>
  19007.         <layer>card</layer>
  19008.         <id>10</id>
  19009.         <text>Message</text>
  19010.     </content>
  19011.     <content>
  19012.         <layer>card</layer>
  19013.         <id>14</id>
  19014.         <text>0,0,1,1</text>
  19015.     </content>
  19016.     <content>
  19017.         <layer>card</layer>
  19018.         <id>11</id>
  19019.         <text>Geneva,20</text>
  19020.     </content>
  19021.     <content>
  19022.         <layer>card</layer>
  19023.         <id>12</id>
  19024.         <text>Toto</text>
  19025.     </content>
  19026.     <content>
  19027.         <layer>card</layer>
  19028.         <id>24</id>
  19029.         <text>OK</text>
  19030.     </content>
  19031.     <content>
  19032.         <layer>card</layer>
  19033.         <id>13</id>
  19034.         <text>600</text>
  19035.     </content>
  19036.     <content>
  19037.         <layer>card</layer>
  19038.         <id>15</id>
  19039.         <text>ZoomRect</text>
  19040.     </content>
  19041.     <name>ListSelect 4.1</name>
  19042.     <script>
  19043.  
  19044.  
  19045.  
  19046. on opencard
  19047. end opencard
  19048.  
  19049. on closeCard
  19050. end closeCard
  19051.  
  19052. </script>
  19053. </card>
  19054.  
  19055.  
  19056. card_33564.xml
  19057. <?xml version="1.0" encoding="utf-8" ?>
  19058. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  19059. <card>
  19060.     <id>33564</id>
  19061.     <filler1>0</filler1>
  19062.     <bitmap>BMAP_33871.pbm</bitmap>
  19063.     <cantDelete> <false /> </cantDelete>
  19064.     <showPict> <true /> </showPict>
  19065.     <dontSearch> <false /> </dontSearch>
  19066.     <owner>46925</owner>
  19067.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  19068.     <part>
  19069.         <id>1</id>
  19070.         <type>field</type>
  19071.         <visible> <true /> </visible>
  19072.         <dontWrap> <false /> </dontWrap>
  19073.         <dontSearch> <false /> </dontSearch>
  19074.         <sharedText> <false /> </sharedText>
  19075.         <fixedLineHeight> <true /> </fixedLineHeight>
  19076.         <autoTab> <false /> </autoTab>
  19077.         <lockText> <true /> </lockText>
  19078.         <rect>
  19079.             <left>69</left>
  19080.             <top>68</top>
  19081.             <right>434</right>
  19082.             <bottom>252</bottom>
  19083.         </rect>
  19084.         <style>scrolling</style>
  19085.         <autoSelect> <false /> </autoSelect>
  19086.         <showLines> <false /> </showLines>
  19087.         <wideMargins> <false /> </wideMargins>
  19088.         <multipleLines> <false /> </multipleLines>
  19089.         <reservedFamily> 0 </reservedFamily>
  19090.         <titleWidth>0</titleWidth>
  19091.         <icon>0</icon>
  19092.         <textAlign>left</textAlign>
  19093.         <font>Geneva</font>
  19094.         <textSize>9</textSize>
  19095.         <textStyle>plain</textStyle>
  19096.         <textHeight>12</textHeight>
  19097.         <name></name>
  19098.         <script></script>
  19099.     </part>
  19100.     <part>
  19101.         <id>25</id>
  19102.         <type>button</type>
  19103.         <visible> <true /> </visible>
  19104.         <reserved5> 0 </reserved5>
  19105.         <reserved4> 0 </reserved4>
  19106.         <reserved3> 0 </reserved3>
  19107.         <reserved2> 0 </reserved2>
  19108.         <reserved1> 0 </reserved1>
  19109.         <enabled> <true /> </enabled>
  19110.         <rect>
  19111.             <left>201</left>
  19112.             <top>278</top>
  19113.             <right>346</right>
  19114.             <bottom>316</bottom>
  19115.         </rect>
  19116.         <style>roundrect</style>
  19117.         <showName> <true /> </showName>
  19118.         <highlight> <false /> </highlight>
  19119.         <autoHighlight> <true /> </autoHighlight>
  19120.         <sharedHighlight> <true /> </sharedHighlight>
  19121.         <family>0</family>
  19122.         <titleWidth>0</titleWidth>
  19123.         <icon>0</icon>
  19124.         <textAlign>center</textAlign>
  19125.         <font>Geneva</font>
  19126.         <textSize>12</textSize>
  19127.         <textStyle>plain</textStyle>
  19128.         <name>MacType ()</name>
  19129.         <script>on mouseUp
  19130. put Switch(MacType()) into cd fld 3
  19131. show cd fld 2
  19132. show cd fld 3
  19133. end mouseUp
  19134. </script>
  19135.     </part>
  19136.     <part>
  19137.         <id>26</id>
  19138.         <type>field</type>
  19139.         <visible> <false /> </visible>
  19140.         <dontWrap> <false /> </dontWrap>
  19141.         <dontSearch> <false /> </dontSearch>
  19142.         <sharedText> <false /> </sharedText>
  19143.         <fixedLineHeight> <true /> </fixedLineHeight>
  19144.         <autoTab> <false /> </autoTab>
  19145.         <lockText> <true /> </lockText>
  19146.         <rect>
  19147.             <left>98</left>
  19148.             <top>87</top>
  19149.             <right>408</right>
  19150.             <bottom>222</bottom>
  19151.         </rect>
  19152.         <style>shadow</style>
  19153.         <autoSelect> <false /> </autoSelect>
  19154.         <showLines> <false /> </showLines>
  19155.         <wideMargins> <true /> </wideMargins>
  19156.         <multipleLines> <false /> </multipleLines>
  19157.         <reservedFamily> 0 </reservedFamily>
  19158.         <titleWidth>0</titleWidth>
  19159.         <icon>0</icon>
  19160.         <textAlign>left</textAlign>
  19161.         <font>Geneva</font>
  19162.         <textSize>12</textSize>
  19163.         <textStyle>plain</textStyle>
  19164.         <textHeight>16</textHeight>
  19165.         <name></name>
  19166.         <script>on mouseUp
  19167. hide cd fld 3
  19168. hide cd fld 2
  19169. end mouseUp</script>
  19170.     </part>
  19171.     <part>
  19172.         <id>27</id>
  19173.         <type>field</type>
  19174.         <visible> <false /> </visible>
  19175.         <dontWrap> <false /> </dontWrap>
  19176.         <dontSearch> <false /> </dontSearch>
  19177.         <sharedText> <false /> </sharedText>
  19178.         <fixedLineHeight> <true /> </fixedLineHeight>
  19179.         <autoTab> <false /> </autoTab>
  19180.         <lockText> <true /> </lockText>
  19181.         <rect>
  19182.             <left>179</left>
  19183.             <top>107</top>
  19184.             <right>381</right>
  19185.             <bottom>207</bottom>
  19186.         </rect>
  19187.         <style>transparent</style>
  19188.         <autoSelect> <false /> </autoSelect>
  19189.         <showLines> <false /> </showLines>
  19190.         <wideMargins> <false /> </wideMargins>
  19191.         <multipleLines> <false /> </multipleLines>
  19192.         <reservedFamily> 0 </reservedFamily>
  19193.         <titleWidth>0</titleWidth>
  19194.         <icon>0</icon>
  19195.         <textAlign>left</textAlign>
  19196.         <font>Geneva</font>
  19197.         <textSize>10</textSize>
  19198.         <textStyle>plain</textStyle>
  19199.         <textHeight>16</textHeight>
  19200.         <name></name>
  19201.         <script>on mouseUp
  19202. hide cd fld 3
  19203. hide cd fld 2
  19204. end mouseUp</script>
  19205.     </part>
  19206.     <content>
  19207.         <layer>card</layer>
  19208.         <id>1</id>
  19209.         <text>
  19210.                                               MacType 1.3
  19211.  
  19212.                                          by Fr├⌐d├⌐ric RINALDI
  19213.  
  19214.  
  19215.  
  19216.  
  19217. DESCRIPTION
  19218. ------------
  19219.   MacType is a XFCN that returns the Macintosh environment (including IIci, IIfx and Portable). And believe me, this one will be upgraded when new products will arise.
  19220.  
  19221.  
  19222. SYNTAX
  19223. -------
  19224.                                                MacType ( )
  19225.  
  19226.  
  19227. PARAMETER
  19228. -----------
  19229.  
  19230.    No parameter is needed. Meanwhile, standard help param "!", "?" and "=" can be passed to get online help (resp. copyright, syntax and output).
  19231.  
  19232.  
  19233. USING
  19234. -----
  19235.  
  19236.    The XFCN return a 6 items string, being respectively :
  19237.  
  19238. CPU,System Vers,Processor,FPU(true|false),ColorQD(true|false),keyboard
  19239.  
  19240. CPU can be :
  19241. -----------
  19242. Unknown
  19243. Macintosh with 64K ROM
  19244. Macintosh XL
  19245. Macintosh 512K enhanced
  19246. Macintosh Plus
  19247. Macintosh SE
  19248. Macintosh II
  19249. Macintosh IIx
  19250. Macintosh IIcx
  19251. Macintosh SE/30
  19252. Macintosh Portable
  19253. Macintosh IIci
  19254. Macintosh IIfx
  19255. Macintosh Classic
  19256. Macintosh LC
  19257. Macintosh IIsi
  19258. Macintosh Classic II
  19259. Macintosh PowerBook 100
  19260. Macintosh PowerBook 140
  19261. Macintosh PowerBook 170
  19262. Macintosh Quadra 700
  19263. Macintosh Quadra 900
  19264.  
  19265. Processor can be :
  19266. ----------------
  19267. Unknown
  19268. MC68000
  19269. MC68010
  19270. MC68020
  19271. MC68030
  19272. MC68040
  19273.  
  19274. Keyboard can be :
  19275. ----------------
  19276. Unknown
  19277. Macintosh keyboard
  19278. Macintosh keyboard and keypad
  19279. Macintosh Plus keyboard
  19280. Apple Extended keyboard
  19281. Apple Standard keyboard
  19282. Macintosh Portable keyboard
  19283. Macintosh Portable keyboard (ISO)
  19284. Apple Standard keyboard (ISO)
  19285. Apple Extended keyboard (ISO)
  19286. Apple Elmer keyboard
  19287. Apple Elmer keyboard (ISO)
  19288. Apple PowerBook keyboard
  19289. Apple PowerBook keyboard (ISO)
  19290.  
  19291.  
  19292. If an error occurs, it will return return :
  19293.  
  19294.         "Error : Couldn't get SysEnvirons"
  19295.  
  19296.  
  19297. TEST
  19298. -----
  19299.   Just click on the button below. The script uses Switch XFCN, ┬⌐ Fr├⌐d├⌐ric RINALDI.
  19300.  
  19301.  
  19302. HISTORY
  19303. --------
  19304. 1.3                                                                                              9/23/91
  19305. ΓÇó Update for new CPUs
  19306. ΓÇó Added "=" online help param
  19307. </text>
  19308.     </content>
  19309.     <content>
  19310.         <layer>card</layer>
  19311.         <id>26</id>
  19312.         <text>
  19313. CPU
  19314. System
  19315. Processor
  19316. FPU
  19317. ColoQD
  19318. Keyboard</text>
  19319.     </content>
  19320.     <content>
  19321.         <layer>card</layer>
  19322.         <id>27</id>
  19323.         <text>Macintosh IIsi
  19324. 7.0.1
  19325. MC68030
  19326. true
  19327. true
  19328. Apple Extended keyboard</text>
  19329.     </content>
  19330.     <name>MacType 1.3</name>
  19331.     <script>
  19332.  
  19333.  
  19334.  
  19335. on opencard
  19336. end opencard
  19337.  
  19338. on closeCard
  19339. hide cd fld 3
  19340. hide cd fld 2
  19341. end closeCard
  19342.  
  19343. </script>
  19344. </card>
  19345.  
  19346.  
  19347. card_34161.xml
  19348. <?xml version="1.0" encoding="utf-8" ?>
  19349. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  19350. <card>
  19351.     <id>34161</id>
  19352.     <filler1>0</filler1>
  19353.     <bitmap>BMAP_34469.pbm</bitmap>
  19354.     <cantDelete> <false /> </cantDelete>
  19355.     <showPict> <true /> </showPict>
  19356.     <dontSearch> <false /> </dontSearch>
  19357.     <owner>46925</owner>
  19358.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  19359.     <part>
  19360.         <id>1</id>
  19361.         <type>field</type>
  19362.         <visible> <true /> </visible>
  19363.         <dontWrap> <false /> </dontWrap>
  19364.         <dontSearch> <false /> </dontSearch>
  19365.         <sharedText> <false /> </sharedText>
  19366.         <fixedLineHeight> <true /> </fixedLineHeight>
  19367.         <autoTab> <false /> </autoTab>
  19368.         <lockText> <true /> </lockText>
  19369.         <rect>
  19370.             <left>69</left>
  19371.             <top>68</top>
  19372.             <right>434</right>
  19373.             <bottom>252</bottom>
  19374.         </rect>
  19375.         <style>scrolling</style>
  19376.         <autoSelect> <false /> </autoSelect>
  19377.         <showLines> <false /> </showLines>
  19378.         <wideMargins> <false /> </wideMargins>
  19379.         <multipleLines> <false /> </multipleLines>
  19380.         <reservedFamily> 0 </reservedFamily>
  19381.         <titleWidth>0</titleWidth>
  19382.         <icon>0</icon>
  19383.         <textAlign>left</textAlign>
  19384.         <font>Geneva</font>
  19385.         <textSize>9</textSize>
  19386.         <textStyle>plain</textStyle>
  19387.         <textHeight>12</textHeight>
  19388.         <name></name>
  19389.         <script></script>
  19390.     </part>
  19391.     <part>
  19392.         <id>26</id>
  19393.         <type>button</type>
  19394.         <visible> <true /> </visible>
  19395.         <reserved5> 0 </reserved5>
  19396.         <reserved4> 0 </reserved4>
  19397.         <reserved3> 0 </reserved3>
  19398.         <reserved2> 0 </reserved2>
  19399.         <reserved1> 0 </reserved1>
  19400.         <enabled> <true /> </enabled>
  19401.         <rect>
  19402.             <left>200</left>
  19403.             <top>278</top>
  19404.             <right>336</right>
  19405.             <bottom>317</bottom>
  19406.         </rect>
  19407.         <style>roundrect</style>
  19408.         <showName> <true /> </showName>
  19409.         <highlight> <false /> </highlight>
  19410.         <autoHighlight> <true /> </autoHighlight>
  19411.         <sharedHighlight> <true /> </sharedHighlight>
  19412.         <family>0</family>
  19413.         <titleWidth>0</titleWidth>
  19414.         <icon>0</icon>
  19415.         <textAlign>center</textAlign>
  19416.         <font>Geneva</font>
  19417.         <textSize>12</textSize>
  19418.         <textStyle>plain</textStyle>
  19419.         <name>Test Menu XCMD</name>
  19420.         <script>on mouseUp
  19421. go next
  19422. end mouseUp
  19423. </script>
  19424.     </part>
  19425.     <content>
  19426.         <layer>card</layer>
  19427.         <id>1</id>
  19428.         <text>
  19429.                                                   Menu 2.1
  19430.                                                   --------
  19431.  
  19432.                                   ┬⌐ Fr├⌐d├⌐ric Rinaldi 1989,1990
  19433.  
  19434.                Special thanks to Eric Ruff for his faithfully beta-testing.
  19435.  
  19436.  
  19437.    Menu 2.1 is the evolution of the well known MenuSet package. Plenty of enhancements have been added, in order to make Menu XCMD the most powerful and easy to use menu external ever used.
  19438.  
  19439. Major enhancements are :
  19440.  
  19441. ΓÇó The whole set has been compiled in just one XCMD of 16 Kb (26 Kb for 11 
  19442.    externals before).
  19443. ΓÇó Each item or subitem name is now parsed, in order to remove special 
  19444.    formatting codes. Thus, "<B^257Item!ΓêÜ" is same as "item" for the XCMD.
  19445. ΓÇó Special formatting codes can be used in any command parameter.
  19446. ΓÇó Menu, item, subitem names and Command chars are automatically 
  19447.    capitalized to preserve Human Interface Guidelines
  19448. ΓÇó The syntax has been homogenized in all commands :
  19449.                  Menu <command>,<menu>,<item>,<subitem>
  19450.    and when an additional param is needed, it is always in second place :
  19451.                  Menu <command>,<special>,<menu>,<item>,<subitem>
  19452.    So, you need now to specify the whole path for a subitem, the XCMD 
  19453.    doesn't search anymore in menu, then submenu list of items. This allows 
  19454.    now to have many identical subitems in a same menu.
  19455. ΓÇó For any item or subitem param, you can use either its name, or its number.
  19456. ΓÇó Everything has been forecast to prevent suppression of user File menu or 
  19457.    of its Quit item, and any modification out of guidelines of this item.
  19458. ΓÇó Install can now even install the File menu. In this case, it will add all the 
  19459.    supplied items before the quit item.
  19460. ΓÇó Switch accepts now About and Help items that go under the Apple menu.
  19461. ΓÇó Many commands have been added to deal with item command, style, ICON or even SICN.
  19462. ΓÇó Extensive online help is available (you have to get the Result after calling to obtain the help text) :
  19463.    typing           Menu "!" 
  19464.    will return   "Version 2.1, ┬⌐ Frederic RINALDI 1989,1990,1991"
  19465.    Typing          Menu "?" 
  19466.    will return   "Type ΓÇ£Menu "?",<command>ΓÇ¥ to get help on a command"
  19467.    Typing          Menu "?",<command>
  19468.    will return   syntax help for that command.
  19469.    Typing          Menu "=" 
  19470.    will return   "<error> if any OR <ICON|SICN id> OR <styles list> OR <
  19471.                        shortcut char> OR <menus count>"
  19472. ΓÇó When "*" is allowed anywhere in the syntax, it means either "all" most of the time, or "end" for Insert command.
  19473. ΓÇó The menu definition can now use either return or semi-colon as separator.
  19474. ΓÇó A special hack has been provided to allow SICN inserting using special 
  19475.    formatting chars (like ^xxx for an ICON).
  19476. ΓÇó Menu is fully international, giving the right "File" and "Quit" name when you call Switch.
  19477.  
  19478. And, like for MenuSet 1.0 :
  19479.  
  19480. ΓÇó Menu 2.1 remains the only XCMD allowing to remove all HC menus 
  19481.    except Apple, File & Edit menu. The File menu is fully customizable, and 
  19482.    the Edit menu still allows Cut, Copy & Paste.
  19483. ΓÇó Even really powerful, it remains a simple to use as any HyperTalk 
  19484.    statement. You will never have to deal with dummy menu IDs stored in 
  19485.    global variables, just pass the names and it will do it for you.
  19486. ΓÇó Finally, like all of my externals, I will support it and regularly enhance it.
  19487.  
  19488.  
  19489.                                              HOW TO USE IT
  19490.                                              -------------
  19491.  
  19492.    Global syntax of Menu XCMD is :
  19493.  
  19494.                     Menu <command> [<param 1>...,<param N>]
  19495.  
  19496.    New, Menu, item and subitem parameters are always name strings, but you can even use a number for item (the order in menu) and subitem (the order in submenu). Any of these parameters, except Menu name can use the standard formatting chars recognized by the File Mgr, either at the beginning or at the end of the name string :
  19497.  
  19498.      ^XXX    associates an ICON resource to the item
  19499.      !X        puts a mark before the item
  19500.      <X        sets the style of the item (B, I, O, U, S)
  19501.                 NOTE : a bug in the Menu Mgr prevents using <E (extend) and <C 
  19502.                            (condense) in the string. Using one of these will cause the 
  19503.                            item to be ignored. Rather use SetStyle (see later).
  19504.      /X       associates a command key to the item
  19505.      (         disables the item
  19506.  
  19507. and a special hack :
  19508.      ┬¿XXX    associates an SICN resource to the item (┬¿ = option-u)
  19509.  
  19510.  
  19511.   The first command parameter will determine the action of Menu XCMD :
  19512.  
  19513.  
  19514. SWITCH
  19515.  
  19516.         Menu "Switch"[,<About item>[,<help item>]]
  19517.  
  19518.    Hides all HC menus, leaving only the Apple, File & Edit menus. About & Help items will be placed under the Apple menu, File has only a Quit item and Edit keeps all working clipboard handling items.
  19519.    Called for the first times, Switch hides the HC menus. Called a second time, it restores the original menuBar.
  19520. HINT : Whatever is the wording you choose for About item, HC 1.2.x sends doMenu "About HyperCard...". So do a correct test in your handler.
  19521.  
  19522.  
  19523. REMOVE
  19524.  
  19525.         Menu "Remove",<menu|*>[,<item|*>[,<subitem|*>]]
  19526.  
  19527.   Removes one or all menus, items of a menu or subitems of a submenu. "*" stands for all when used in place of any parameter.
  19528.  
  19529.  
  19530. INSTALL
  19531.  
  19532.         Menu "Install",<menu def>[ΓǪ,<menu def>]
  19533.  
  19534.    Installs one or many (up to ten) user menus in one call. MenuDef can any container or literal string containing :
  19535.  
  19536.         "Menu name
  19537.          item 1, subitem 1.1,subitem 1.2
  19538.          item 2
  19539.          item 3, subitem 3.1"
  19540.  
  19541. or :
  19542.  
  19543. "Menu name;item 1, subitem 1.1,subitem 1.2;item 2;item 3, subitem 3.1"
  19544.  
  19545.  
  19546. CHANGE
  19547.  
  19548.         Menu "Change",<new>,<menu>,<item>[,<subitem>]
  19549.  
  19550.    Changes the wording of any item or subitem. Using a comma separated list as new parameter, you can even add a submenu to any existing item, or with special formatting chars change its style, ICON, etc.
  19551.  
  19552.  
  19553. INSERT
  19554.  
  19555.         Menu "Insert",<new>,<menu>,<before item|*>[,<before subitem|*>]
  19556.  
  19557.    Inserts a new item in a menu or a new subitem in a submenu. If you use 
  19558. "*" as a param, the new item will be inserted at the end.
  19559.  
  19560.  
  19561. CHECK/UNCHECK
  19562.  
  19563.         Menu "Check",<menu>,<item|*>[,<subitem|*>]
  19564.         Menu "Uncheck",<menu>,<item|*>[,<subitem|*>]
  19565.  
  19566.    Checks or unchecks any item or subitem. "*" stands for all when used in place of any parameter, thus allowing to check all items in one call.
  19567.  
  19568.  
  19569. ENABLE/DISABLE
  19570.  
  19571.         Menu "Enable",<menu>[,<item|*>[,<subitem|*>]]
  19572.         Menu "Disable",<menu>[,<item|*>[,<subitem|*>]]
  19573.  
  19574.    Enables or disables a whole menu, or any item or subitem. "*" stands for all when used in place of any parameter, thus allowing to set all items in one call.
  19575.  
  19576.  
  19577. FIND
  19578.  
  19579.         Menu "Find",<item or subitem>
  19580.  
  19581.    Allow to find in which menu/submenu is any item or subitem. You have to get the Result after calling to obtain a list of matching menus. Each line of the returned comma separated list contains a menu name, sometimes the submenu name and the number of the item in the menu or submenu..
  19582.  
  19583.  
  19584. LIST
  19585.  
  19586.         Menu "List",<menu|*>[,<item|*>[,<*>]]
  19587.  
  19588.    GetList returns a list of menus, items or subitems. Depending on the params you pass, List wiil return :
  19589.      Menu "List","*" ........................... comma separated list of menu names
  19590.      Menu "List","menu"....................... menuDef of menu (see Install)
  19591.      Menu "List","menu","*"................ list of items & subitems of menu
  19592.      Menu "List","menu","item"............ item & list of subitems of submenu
  19593.      Menu "List","menu","item","*"..... list of subitems of submenu
  19594.  
  19595.    You have to get the Result after calling to obtain the required list.
  19596.    HINT : if the first item of the returned menus list is "File", then you already called Switch command.
  19597.  
  19598.  
  19599. COUNT
  19600.  
  19601.         Menu "Count",<menu|*>[,<item|*>[,<*>]]
  19602.  
  19603.    Count returns the number of user menus, items in a menu or subitems in a submenu. Last param must always be "*". You have to get the Result after calling to obtain the resulting number.
  19604.    If you ask for the number of menus after have called Switch, the File user menu will be one of the totalized menus. 
  19605.  
  19606.  
  19607. ISCHECKED/ISENABLED
  19608.  
  19609.         Menu "IsChecked",<menu>,<item>[,<subitem>]
  19610.         Menu "IsEnabled",<menu>[,<item>[,<subitem>]]
  19611.  
  19612.    Returns "true" or "false", allowing to know if the menu, item or subitem is checked or enables. You have to get the Result after calling to obtain the value.
  19613.  
  19614.  
  19615. GETCMD/SETCMD
  19616.  
  19617.         Menu "GetCmd",<menu>,<item>[,<subitem>]
  19618.         Menu "SetCmd",<Cmd char>,<menu>,<item>[,<subitem>]
  19619.  
  19620.    Returns or sets the command char of any item or subitem. You have to get the Result after calling GetCmd to obtain the cmd char.
  19621.  
  19622.  
  19623. GETICON/SETICON
  19624.  
  19625.         Menu "GetIcon",<menu>,<item>[,<subitem>]
  19626.         Menu "SetIcon",<ICON ID>,<menu>,<item>[,<subitem>]
  19627.  
  19628.    Returns or sets the associated ICON of any item or subitem. ICON ID must be greater than 256 but smaller than 512. You have to get the Result after calling GetIcon to obtain the ICON ID.
  19629.  
  19630.  
  19631. GETSTYLE/SETSTYLE
  19632.  
  19633.         Menu "GetStyle",<menu>,<item>[,<subitem>]
  19634.         Menu "SetStyle",<style>,<menu>,<item>[,<subitem>]
  19635.  
  19636.    Returns or sets the style of any item or subitem. You have to get the Result after calling GetStyle to obtain the style string.
  19637.    Style is a one or many chars string which can contain :
  19638. N (Normal), B (Bold), I (Italic), U (Underline), O (Outline), S (Shadow), 
  19639. C (Condense), E (Extend)
  19640.  
  19641.  
  19642. GETSICN/SETSICN
  19643.  
  19644.         Menu "GetSicn",<menu>,<item>[,<subitem>]
  19645.         Menu "SetSicn",<SICN ID>,<menu>,<item>[,<subitem>]
  19646.  
  19647.    Returns or sets the associated SICN of any item or subitem. SICN ID must be greater than 256 but smaller than 512. You have to get the Result after calling GetSicn to obtain the SICN ID.
  19648.  
  19649.                                             ------------------
  19650.  
  19651. Finally, don't worry : the XCMD is really bullet-proof, and numerous errors strings are available in the Result when something goes wrong :
  19652.  
  19653.        "Error : Menu not found"
  19654.        "Error : Bad ICON or SICN ID (257 Γëñ x Γëñ 511)"
  19655.        "Error : Item not found"
  19656.        "Error : Subitem not found"
  19657.        "Error : Missing parameter(s)"
  19658.        "Error : Useless parameter(s)"
  19659.        "Error : This item has no submenu"
  19660.        "Error : File menu cannot be removed"
  19661.        "Error : Quit item cannot be removed from File menu "
  19662.        "Error : UserLevel must be ΓëÑ 4"
  19663.        "Error : Couldn't save current Edit menu"
  19664.        "Error : No more than 10 user menus"
  19665.        "Error : Bad menu name in param #x"
  19666.        "Error : Must call Switch before installing File menu"
  19667.        "Error : "*" not allowed in Change params"
  19668.        "Error : No more than one subMenu level"
  19669.        "Error : "*" not allowed in menu param for Insert"
  19670.        "Error : "*" not allowed in menu param for Check/Uncheck"
  19671.        "Error : Quit item of File menu cannot be checked"
  19672.        "Error : Whole File menu cannot be disabled"
  19673.        "Error : Quit item of File menu cannot be disabled"
  19674.        "Error : Out of Memory"
  19675.        "Error : "*" not allowed in IsEnabled params"
  19676.        "Error : "*" not allowed in IsChecked params"
  19677.        "Error : "*" not allowed in Get... params"
  19678.        "Error : "*" not allowed in Set... params"
  19679.        "Error : SetCmd not allowed for Quit items of File menu"
  19680.        "Error : SetCmd not allowed for items having a submenu"
  19681.        "Error : SetSicn not allowed for items having a submenu"
  19682.        "Error : Unknown command"
  19683.        "Error : Empty param #x"
  19684.        "Error : File menu resource not found"
  19685.        "Error : SubMenu not allowed for About item"
  19686.        "Error : SubMenu not allowed for Help item"
  19687.        "Error : Duplicate menu name"
  19688.  
  19689. HISTORY
  19690. -------
  19691. 2.1                                                                                              8/15/91
  19692. ΓÇó Locked parameter block for HC 2.0
  19693. ΓÇó Changed submenus IDs to be HC 2.0 compatible
  19694. ΓÇó Cleaned the code
  19695. ΓÇó Added "=" online help param
  19696. </text>
  19697.     </content>
  19698.     <name>Menu 2.1</name>
  19699.     <script>on doMenu What
  19700. if What is in "Item 1,Item 2,Item 3"
  19701. then answer "You called menu ΓÇ£" & What & "ΓÇ¥"
  19702. else pass doMenu
  19703. end doMenu
  19704.  
  19705. on opencard
  19706. end opencard
  19707.  
  19708. on closeCard
  19709. end closeCard
  19710.  
  19711. on doMenu What
  19712. Menu "Find",What
  19713. if the Result Γëá empty
  19714. then
  19715. answer "This is a call to user menu ΓÇ£" & item 1 of the Result┬¼
  19716. & "ΓÇ¥"
  19717. else
  19718. Menu "List","*"
  19719. if first item of the Result is "File"
  19720. then
  19721. if What is "About HyperCard..."
  19722. then answer "This is a call for user About..."
  19723. else if What is "HelpΓǪ"
  19724. then answer "This is a call for user" && What
  19725. else pass doMenu
  19726. else pass doMenu
  19727. end if
  19728. end doMenu
  19729.  
  19730. </script>
  19731. </card>
  19732.  
  19733.  
  19734. card_34723.xml
  19735. <?xml version="1.0" encoding="utf-8" ?>
  19736. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  19737. <card>
  19738.     <id>34723</id>
  19739.     <filler1>0</filler1>
  19740.     <cantDelete> <false /> </cantDelete>
  19741.     <showPict> <true /> </showPict>
  19742.     <dontSearch> <false /> </dontSearch>
  19743.     <owner>46925</owner>
  19744.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  19745.     <part>
  19746.         <id>1</id>
  19747.         <type>field</type>
  19748.         <visible> <true /> </visible>
  19749.         <dontWrap> <false /> </dontWrap>
  19750.         <dontSearch> <false /> </dontSearch>
  19751.         <sharedText> <false /> </sharedText>
  19752.         <fixedLineHeight> <true /> </fixedLineHeight>
  19753.         <autoTab> <false /> </autoTab>
  19754.         <lockText> <false /> </lockText>
  19755.         <rect>
  19756.             <left>42</left>
  19757.             <top>5</top>
  19758.             <right>426</right>
  19759.             <bottom>77</bottom>
  19760.         </rect>
  19761.         <style>scrolling</style>
  19762.         <autoSelect> <false /> </autoSelect>
  19763.         <showLines> <false /> </showLines>
  19764.         <wideMargins> <false /> </wideMargins>
  19765.         <multipleLines> <false /> </multipleLines>
  19766.         <reservedFamily> 0 </reservedFamily>
  19767.         <titleWidth>0</titleWidth>
  19768.         <icon>0</icon>
  19769.         <textAlign>left</textAlign>
  19770.         <font>Geneva</font>
  19771.         <textSize>10</textSize>
  19772.         <textStyle>plain</textStyle>
  19773.         <textHeight>13</textHeight>
  19774.         <name>MenuDef1</name>
  19775.         <script></script>
  19776.     </part>
  19777.     <part>
  19778.         <id>2</id>
  19779.         <type>field</type>
  19780.         <visible> <true /> </visible>
  19781.         <dontWrap> <false /> </dontWrap>
  19782.         <dontSearch> <false /> </dontSearch>
  19783.         <sharedText> <false /> </sharedText>
  19784.         <fixedLineHeight> <true /> </fixedLineHeight>
  19785.         <autoTab> <false /> </autoTab>
  19786.         <lockText> <false /> </lockText>
  19787.         <rect>
  19788.             <left>107</left>
  19789.             <top>315</top>
  19790.             <right>474</right>
  19791.             <bottom>332</bottom>
  19792.         </rect>
  19793.         <style>rectangle</style>
  19794.         <autoSelect> <false /> </autoSelect>
  19795.         <showLines> <false /> </showLines>
  19796.         <wideMargins> <false /> </wideMargins>
  19797.         <multipleLines> <false /> </multipleLines>
  19798.         <reservedFamily> 0 </reservedFamily>
  19799.         <titleWidth>0</titleWidth>
  19800.         <icon>0</icon>
  19801.         <textAlign>left</textAlign>
  19802.         <font>Geneva</font>
  19803.         <textSize>10</textSize>
  19804.         <textStyle>plain</textStyle>
  19805.         <textHeight>13</textHeight>
  19806.         <name>Cmd</name>
  19807.         <script></script>
  19808.     </part>
  19809.     <part>
  19810.         <id>5</id>
  19811.         <type>button</type>
  19812.         <visible> <true /> </visible>
  19813.         <reserved5> 0 </reserved5>
  19814.         <reserved4> 0 </reserved4>
  19815.         <reserved3> 0 </reserved3>
  19816.         <reserved2> 0 </reserved2>
  19817.         <reserved1> 0 </reserved1>
  19818.         <enabled> <true /> </enabled>
  19819.         <rect>
  19820.             <left>78</left>
  19821.             <top>162</top>
  19822.             <right>149</right>
  19823.             <bottom>182</bottom>
  19824.         </rect>
  19825.         <style>shadow</style>
  19826.         <showName> <true /> </showName>
  19827.         <highlight> <false /> </highlight>
  19828.         <autoHighlight> <true /> </autoHighlight>
  19829.         <sharedHighlight> <true /> </sharedHighlight>
  19830.         <family>0</family>
  19831.         <titleWidth>0</titleWidth>
  19832.         <icon>0</icon>
  19833.         <textAlign>center</textAlign>
  19834.         <font>Geneva</font>
  19835.         <textSize>10</textSize>
  19836.         <textStyle>plain</textStyle>
  19837.         <name>Install</name>
  19838.         <script>on mouseUp
  19839. put "Menu " & Q("Install") into card field "Cmd"
  19840. IF cd fld "MenuDef1" Γëá empty
  19841. then put  "," & "card field" && Q("MenuDef1") after cd fld "Cmd"
  19842. IF cd fld "MenuDef2" Γëá empty
  19843. then put  "," & "card field" && Q("MenuDef2") after cd fld "Cmd"
  19844. DoMenuXCMD
  19845. end mouseUp</script>
  19846.     </part>
  19847.     <part>
  19848.         <id>6</id>
  19849.         <type>button</type>
  19850.         <visible> <true /> </visible>
  19851.         <reserved5> 0 </reserved5>
  19852.         <reserved4> 0 </reserved4>
  19853.         <reserved3> 0 </reserved3>
  19854.         <reserved2> 0 </reserved2>
  19855.         <reserved1> 0 </reserved1>
  19856.         <enabled> <true /> </enabled>
  19857.         <rect>
  19858.             <left>177</left>
  19859.             <top>162</top>
  19860.             <right>248</right>
  19861.             <bottom>182</bottom>
  19862.         </rect>
  19863.         <style>shadow</style>
  19864.         <showName> <true /> </showName>
  19865.         <highlight> <false /> </highlight>
  19866.         <autoHighlight> <true /> </autoHighlight>
  19867.         <sharedHighlight> <true /> </sharedHighlight>
  19868.         <family>0</family>
  19869.         <titleWidth>0</titleWidth>
  19870.         <icon>0</icon>
  19871.         <textAlign>center</textAlign>
  19872.         <font>Geneva</font>
  19873.         <textSize>10</textSize>
  19874.         <textStyle>plain</textStyle>
  19875.         <name>Insert</name>
  19876.         <script>on mouseUp
  19877. ParseParam¬
  19878. "New item :,Menu name :,Before item name : (* = end),Before subItem"┬¼
  19879. & " name : (* = end)","New Item,MyMenu,Item 1,SubItem 1.1"
  19880. end mouseUp
  19881. </script>
  19882.     </part>
  19883.     <part>
  19884.         <id>7</id>
  19885.         <type>button</type>
  19886.         <visible> <true /> </visible>
  19887.         <reserved5> 0 </reserved5>
  19888.         <reserved4> 0 </reserved4>
  19889.         <reserved3> 0 </reserved3>
  19890.         <reserved2> 0 </reserved2>
  19891.         <reserved1> 0 </reserved1>
  19892.         <enabled> <true /> </enabled>
  19893.         <rect>
  19894.             <left>276</left>
  19895.             <top>162</top>
  19896.             <right>347</right>
  19897.             <bottom>182</bottom>
  19898.         </rect>
  19899.         <style>shadow</style>
  19900.         <showName> <true /> </showName>
  19901.         <highlight> <false /> </highlight>
  19902.         <autoHighlight> <true /> </autoHighlight>
  19903.         <sharedHighlight> <true /> </sharedHighlight>
  19904.         <family>0</family>
  19905.         <titleWidth>0</titleWidth>
  19906.         <icon>0</icon>
  19907.         <textAlign>center</textAlign>
  19908.         <font>Geneva</font>
  19909.         <textSize>10</textSize>
  19910.         <textStyle>plain</textStyle>
  19911.         <name>Change</name>
  19912.         <script>on mouseUp
  19913. ParseParam¬
  19914. "New name :,Menu name :,Item name :,subItem name :",┬¼
  19915. "New Item,MyMenu,Item 1,SubItem 1.1"
  19916. end mouseUp
  19917. </script>
  19918.     </part>
  19919.     <part>
  19920.         <id>8</id>
  19921.         <type>button</type>
  19922.         <visible> <true /> </visible>
  19923.         <reserved5> 0 </reserved5>
  19924.         <reserved4> 0 </reserved4>
  19925.         <reserved3> 0 </reserved3>
  19926.         <reserved2> 0 </reserved2>
  19927.         <reserved1> 0 </reserved1>
  19928.         <enabled> <true /> </enabled>
  19929.         <rect>
  19930.             <left>276</left>
  19931.             <top>185</top>
  19932.             <right>347</right>
  19933.             <bottom>205</bottom>
  19934.         </rect>
  19935.         <style>shadow</style>
  19936.         <showName> <true /> </showName>
  19937.         <highlight> <false /> </highlight>
  19938.         <autoHighlight> <true /> </autoHighlight>
  19939.         <sharedHighlight> <true /> </sharedHighlight>
  19940.         <family>0</family>
  19941.         <titleWidth>0</titleWidth>
  19942.         <icon>0</icon>
  19943.         <textAlign>center</textAlign>
  19944.         <font>Geneva</font>
  19945.         <textSize>10</textSize>
  19946.         <textStyle>plain</textStyle>
  19947.         <name>Enable</name>
  19948.         <script>on mouseUp
  19949. ParseParam¬
  19950. "Menu name : (* = all),Item name : (* = all),subItem name : (* = all)",┬¼
  19951. "MyMenu,Item 1,SubItem 1.1"
  19952. end mouseUp
  19953. </script>
  19954.     </part>
  19955.     <part>
  19956.         <id>9</id>
  19957.         <type>button</type>
  19958.         <visible> <true /> </visible>
  19959.         <reserved5> 0 </reserved5>
  19960.         <reserved4> 0 </reserved4>
  19961.         <reserved3> 0 </reserved3>
  19962.         <reserved2> 0 </reserved2>
  19963.         <reserved1> 0 </reserved1>
  19964.         <enabled> <true /> </enabled>
  19965.         <rect>
  19966.             <left>78</left>
  19967.             <top>185</top>
  19968.             <right>149</right>
  19969.             <bottom>205</bottom>
  19970.         </rect>
  19971.         <style>shadow</style>
  19972.         <showName> <true /> </showName>
  19973.         <highlight> <false /> </highlight>
  19974.         <autoHighlight> <true /> </autoHighlight>
  19975.         <sharedHighlight> <true /> </sharedHighlight>
  19976.         <family>0</family>
  19977.         <titleWidth>0</titleWidth>
  19978.         <icon>0</icon>
  19979.         <textAlign>center</textAlign>
  19980.         <font>Geneva</font>
  19981.         <textSize>10</textSize>
  19982.         <textStyle>plain</textStyle>
  19983.         <name>Check</name>
  19984.         <script>on mouseUp
  19985. ParseParam¬
  19986. "Menu name :,Item name : (* = all),subItem name : (* = all)",┬¼
  19987. "MyMenu,Item 1,SubItem 1.1"
  19988. end mouseUp
  19989. </script>
  19990.     </part>
  19991.     <part>
  19992.         <id>10</id>
  19993.         <type>button</type>
  19994.         <visible> <true /> </visible>
  19995.         <reserved5> 0 </reserved5>
  19996.         <reserved4> 0 </reserved4>
  19997.         <reserved3> 0 </reserved3>
  19998.         <reserved2> 0 </reserved2>
  19999.         <reserved1> 0 </reserved1>
  20000.         <enabled> <true /> </enabled>
  20001.         <rect>
  20002.             <left>78</left>
  20003.             <top>208</top>
  20004.             <right>149</right>
  20005.             <bottom>228</bottom>
  20006.         </rect>
  20007.         <style>shadow</style>
  20008.         <showName> <true /> </showName>
  20009.         <highlight> <false /> </highlight>
  20010.         <autoHighlight> <true /> </autoHighlight>
  20011.         <sharedHighlight> <true /> </sharedHighlight>
  20012.         <family>0</family>
  20013.         <titleWidth>0</titleWidth>
  20014.         <icon>0</icon>
  20015.         <textAlign>center</textAlign>
  20016.         <font>Geneva</font>
  20017.         <textSize>10</textSize>
  20018.         <textStyle>plain</textStyle>
  20019.         <name>List</name>
  20020.         <script>on mouseUp
  20021. ParseParam¬
  20022. "Menu name : (* = all),Item name : (* = all),subItem name : (* = all)",┬¼
  20023. "MyMenu,Item 1,*"
  20024. end mouseUp
  20025. </script>
  20026.     </part>
  20027.     <part>
  20028.         <id>11</id>
  20029.         <type>button</type>
  20030.         <visible> <true /> </visible>
  20031.         <reserved5> 0 </reserved5>
  20032.         <reserved4> 0 </reserved4>
  20033.         <reserved3> 0 </reserved3>
  20034.         <reserved2> 0 </reserved2>
  20035.         <reserved1> 0 </reserved1>
  20036.         <enabled> <true /> </enabled>
  20037.         <rect>
  20038.             <left>177</left>
  20039.             <top>208</top>
  20040.             <right>248</right>
  20041.             <bottom>228</bottom>
  20042.         </rect>
  20043.         <style>shadow</style>
  20044.         <showName> <true /> </showName>
  20045.         <highlight> <false /> </highlight>
  20046.         <autoHighlight> <true /> </autoHighlight>
  20047.         <sharedHighlight> <true /> </sharedHighlight>
  20048.         <family>0</family>
  20049.         <titleWidth>0</titleWidth>
  20050.         <icon>0</icon>
  20051.         <textAlign>center</textAlign>
  20052.         <font>Geneva</font>
  20053.         <textSize>10</textSize>
  20054.         <textStyle>plain</textStyle>
  20055.         <name>Find</name>
  20056.         <script>on mouseUp
  20057. ParseParam¬
  20058. "Item to find :","Item 1"
  20059. end mouseUp
  20060. </script>
  20061.     </part>
  20062.     <part>
  20063.         <id>12</id>
  20064.         <type>button</type>
  20065.         <visible> <true /> </visible>
  20066.         <reserved5> 0 </reserved5>
  20067.         <reserved4> 0 </reserved4>
  20068.         <reserved3> 0 </reserved3>
  20069.         <reserved2> 0 </reserved2>
  20070.         <reserved1> 0 </reserved1>
  20071.         <enabled> <true /> </enabled>
  20072.         <rect>
  20073.             <left>375</left>
  20074.             <top>162</top>
  20075.             <right>446</right>
  20076.             <bottom>182</bottom>
  20077.         </rect>
  20078.         <style>shadow</style>
  20079.         <showName> <true /> </showName>
  20080.         <highlight> <false /> </highlight>
  20081.         <autoHighlight> <true /> </autoHighlight>
  20082.         <sharedHighlight> <true /> </sharedHighlight>
  20083.         <family>0</family>
  20084.         <titleWidth>0</titleWidth>
  20085.         <icon>0</icon>
  20086.         <textAlign>center</textAlign>
  20087.         <font>Geneva</font>
  20088.         <textSize>10</textSize>
  20089.         <textStyle>plain</textStyle>
  20090.         <name>Remove</name>
  20091.         <script>on mouseUp
  20092. ParseParam¬
  20093. "Menu name : (* = all),Item name : (* = all),subItem name : (* = all)",┬¼
  20094. "MyMenu,Item 1,SubItem 1.1"
  20095. end mouseUp
  20096. </script>
  20097.     </part>
  20098.     <part>
  20099.         <id>13</id>
  20100.         <type>button</type>
  20101.         <visible> <true /> </visible>
  20102.         <reserved5> 0 </reserved5>
  20103.         <reserved4> 0 </reserved4>
  20104.         <reserved3> 0 </reserved3>
  20105.         <reserved2> 0 </reserved2>
  20106.         <reserved1> 0 </reserved1>
  20107.         <enabled> <true /> </enabled>
  20108.         <rect>
  20109.             <left>276</left>
  20110.             <top>208</top>
  20111.             <right>347</right>
  20112.             <bottom>228</bottom>
  20113.         </rect>
  20114.         <style>shadow</style>
  20115.         <showName> <true /> </showName>
  20116.         <highlight> <false /> </highlight>
  20117.         <autoHighlight> <true /> </autoHighlight>
  20118.         <sharedHighlight> <true /> </sharedHighlight>
  20119.         <family>0</family>
  20120.         <titleWidth>0</titleWidth>
  20121.         <icon>0</icon>
  20122.         <textAlign>center</textAlign>
  20123.         <font>Geneva</font>
  20124.         <textSize>10</textSize>
  20125.         <textStyle>plain</textStyle>
  20126.         <name>IsChecked</name>
  20127.         <script>on mouseUp
  20128. ParseParam¬
  20129. "Menu name :,Item name :,subItem name :",┬¼
  20130. "MyMenu,Item 1,SubItem 1.1"
  20131. end mouseUp
  20132. </script>
  20133.     </part>
  20134.     <part>
  20135.         <id>14</id>
  20136.         <type>button</type>
  20137.         <visible> <true /> </visible>
  20138.         <reserved5> 0 </reserved5>
  20139.         <reserved4> 0 </reserved4>
  20140.         <reserved3> 0 </reserved3>
  20141.         <reserved2> 0 </reserved2>
  20142.         <reserved1> 0 </reserved1>
  20143.         <enabled> <true /> </enabled>
  20144.         <rect>
  20145.             <left>276</left>
  20146.             <top>277</top>
  20147.             <right>347</right>
  20148.             <bottom>297</bottom>
  20149.         </rect>
  20150.         <style>shadow</style>
  20151.         <showName> <true /> </showName>
  20152.         <highlight> <false /> </highlight>
  20153.         <autoHighlight> <true /> </autoHighlight>
  20154.         <sharedHighlight> <true /> </sharedHighlight>
  20155.         <family>0</family>
  20156.         <titleWidth>0</titleWidth>
  20157.         <icon>0</icon>
  20158.         <textAlign>center</textAlign>
  20159.         <font>Geneva</font>
  20160.         <textSize>10</textSize>
  20161.         <textStyle>plain</textStyle>
  20162.         <name>Switch</name>
  20163.         <script>on mouseUp
  20164. global MenuBarGlobal
  20165. if number of items of MenuBarGlobal Γëá 2
  20166. then ParseParam"About name :,Help name :","AboutΓǪ,HelpΓǪ"
  20167. else
  20168. put "Menu" && Q("Switch") into cd fld "Cmd"
  20169. DoMEnuXCMD
  20170. end if
  20171. end mouseUp
  20172. </script>
  20173.     </part>
  20174.     <part>
  20175.         <id>15</id>
  20176.         <type>button</type>
  20177.         <visible> <true /> </visible>
  20178.         <reserved5> 0 </reserved5>
  20179.         <reserved4> 0 </reserved4>
  20180.         <reserved3> 0 </reserved3>
  20181.         <reserved2> 0 </reserved2>
  20182.         <reserved1> 0 </reserved1>
  20183.         <enabled> <true /> </enabled>
  20184.         <rect>
  20185.             <left>375</left>
  20186.             <top>208</top>
  20187.             <right>446</right>
  20188.             <bottom>228</bottom>
  20189.         </rect>
  20190.         <style>shadow</style>
  20191.         <showName> <true /> </showName>
  20192.         <highlight> <false /> </highlight>
  20193.         <autoHighlight> <true /> </autoHighlight>
  20194.         <sharedHighlight> <true /> </sharedHighlight>
  20195.         <family>0</family>
  20196.         <titleWidth>0</titleWidth>
  20197.         <icon>0</icon>
  20198.         <textAlign>center</textAlign>
  20199.         <font>Geneva</font>
  20200.         <textSize>10</textSize>
  20201.         <textStyle>plain</textStyle>
  20202.         <name>IsEnabled</name>
  20203.         <script>on mouseUp
  20204. ParseParam¬
  20205. "Menu name :,Item name :,subItem name :",┬¼
  20206. "MyMenu,Item 1,SubItem 1.1"
  20207. end mouseUp
  20208. </script>
  20209.     </part>
  20210.     <part>
  20211.         <id>17</id>
  20212.         <type>button</type>
  20213.         <visible> <true /> </visible>
  20214.         <reserved5> 0 </reserved5>
  20215.         <reserved4> 0 </reserved4>
  20216.         <reserved3> 0 </reserved3>
  20217.         <reserved2> 0 </reserved2>
  20218.         <reserved1> 0 </reserved1>
  20219.         <enabled> <true /> </enabled>
  20220.         <rect>
  20221.             <left>396</left>
  20222.             <top>299</top>
  20223.             <right>474</right>
  20224.             <bottom>316</bottom>
  20225.         </rect>
  20226.         <style>rectangle</style>
  20227.         <showName> <true /> </showName>
  20228.         <highlight> <false /> </highlight>
  20229.         <autoHighlight> <true /> </autoHighlight>
  20230.         <sharedHighlight> <true /> </sharedHighlight>
  20231.         <family>0</family>
  20232.         <titleWidth>0</titleWidth>
  20233.         <icon>0</icon>
  20234.         <textAlign>center</textAlign>
  20235.         <font>Geneva</font>
  20236.         <textSize>12</textSize>
  20237.         <textStyle>plain</textStyle>
  20238.         <name>DoField</name>
  20239.         <script>on mouseUp
  20240. DoMenuXCMD
  20241. end mouseUp
  20242. </script>
  20243.     </part>
  20244.     <part>
  20245.         <id>18</id>
  20246.         <type>button</type>
  20247.         <visible> <true /> </visible>
  20248.         <reserved5> 0 </reserved5>
  20249.         <reserved4> 0 </reserved4>
  20250.         <reserved3> 0 </reserved3>
  20251.         <reserved2> 0 </reserved2>
  20252.         <reserved1> 0 </reserved1>
  20253.         <enabled> <true /> </enabled>
  20254.         <rect>
  20255.             <left>375</left>
  20256.             <top>185</top>
  20257.             <right>446</right>
  20258.             <bottom>205</bottom>
  20259.         </rect>
  20260.         <style>shadow</style>
  20261.         <showName> <true /> </showName>
  20262.         <highlight> <false /> </highlight>
  20263.         <autoHighlight> <true /> </autoHighlight>
  20264.         <sharedHighlight> <true /> </sharedHighlight>
  20265.         <family>0</family>
  20266.         <titleWidth>0</titleWidth>
  20267.         <icon>0</icon>
  20268.         <textAlign>center</textAlign>
  20269.         <font>Geneva</font>
  20270.         <textSize>10</textSize>
  20271.         <textStyle>plain</textStyle>
  20272.         <name>Disable</name>
  20273.         <script>on mouseUp
  20274. ParseParam¬
  20275. "Menu name : (* = all),Item name : (* = all),subItem name : (* = all)",┬¼
  20276. "MyMenu,Item 1,SubItem 1.1"
  20277. end mouseUp
  20278. </script>
  20279.     </part>
  20280.     <part>
  20281.         <id>19</id>
  20282.         <type>button</type>
  20283.         <visible> <true /> </visible>
  20284.         <reserved5> 0 </reserved5>
  20285.         <reserved4> 0 </reserved4>
  20286.         <reserved3> 0 </reserved3>
  20287.         <reserved2> 0 </reserved2>
  20288.         <reserved1> 0 </reserved1>
  20289.         <enabled> <true /> </enabled>
  20290.         <rect>
  20291.             <left>177</left>
  20292.             <top>185</top>
  20293.             <right>248</right>
  20294.             <bottom>205</bottom>
  20295.         </rect>
  20296.         <style>shadow</style>
  20297.         <showName> <true /> </showName>
  20298.         <highlight> <false /> </highlight>
  20299.         <autoHighlight> <true /> </autoHighlight>
  20300.         <sharedHighlight> <true /> </sharedHighlight>
  20301.         <family>0</family>
  20302.         <titleWidth>0</titleWidth>
  20303.         <icon>0</icon>
  20304.         <textAlign>center</textAlign>
  20305.         <font>Geneva</font>
  20306.         <textSize>10</textSize>
  20307.         <textStyle>plain</textStyle>
  20308.         <name>Uncheck</name>
  20309.         <script>on mouseUp
  20310. ParseParam¬
  20311. "Menu name :,Item name : (* = all),subItem name : (* = all)",┬¼
  20312. "MyMenu,Item 1,SubItem 1.1"
  20313. end mouseUp
  20314. </script>
  20315.     </part>
  20316.     <part>
  20317.         <id>20</id>
  20318.         <type>button</type>
  20319.         <visible> <true /> </visible>
  20320.         <reserved5> 0 </reserved5>
  20321.         <reserved4> 0 </reserved4>
  20322.         <reserved3> 0 </reserved3>
  20323.         <reserved2> 0 </reserved2>
  20324.         <reserved1> 0 </reserved1>
  20325.         <enabled> <true /> </enabled>
  20326.         <rect>
  20327.             <left>78</left>
  20328.             <top>231</top>
  20329.             <right>149</right>
  20330.             <bottom>251</bottom>
  20331.         </rect>
  20332.         <style>shadow</style>
  20333.         <showName> <true /> </showName>
  20334.         <highlight> <false /> </highlight>
  20335.         <autoHighlight> <true /> </autoHighlight>
  20336.         <sharedHighlight> <true /> </sharedHighlight>
  20337.         <family>0</family>
  20338.         <titleWidth>0</titleWidth>
  20339.         <icon>0</icon>
  20340.         <textAlign>center</textAlign>
  20341.         <font>Geneva</font>
  20342.         <textSize>10</textSize>
  20343.         <textStyle>plain</textStyle>
  20344.         <name>GetCmd</name>
  20345.         <script>on mouseUp
  20346. ParseParam¬
  20347. "Menu name :,Item name :,SubItem name :","MyMenu,Item 1,Subitem 1.1"
  20348. end mouseUp
  20349. </script>
  20350.     </part>
  20351.     <part>
  20352.         <id>21</id>
  20353.         <type>button</type>
  20354.         <visible> <true /> </visible>
  20355.         <reserved5> 0 </reserved5>
  20356.         <reserved4> 0 </reserved4>
  20357.         <reserved3> 0 </reserved3>
  20358.         <reserved2> 0 </reserved2>
  20359.         <reserved1> 0 </reserved1>
  20360.         <enabled> <true /> </enabled>
  20361.         <rect>
  20362.             <left>177</left>
  20363.             <top>231</top>
  20364.             <right>248</right>
  20365.             <bottom>251</bottom>
  20366.         </rect>
  20367.         <style>shadow</style>
  20368.         <showName> <true /> </showName>
  20369.         <highlight> <false /> </highlight>
  20370.         <autoHighlight> <true /> </autoHighlight>
  20371.         <sharedHighlight> <true /> </sharedHighlight>
  20372.         <family>0</family>
  20373.         <titleWidth>0</titleWidth>
  20374.         <icon>0</icon>
  20375.         <textAlign>center</textAlign>
  20376.         <font>Geneva</font>
  20377.         <textSize>10</textSize>
  20378.         <textStyle>plain</textStyle>
  20379.         <name>SetCmd</name>
  20380.         <script>on mouseUp
  20381. ParseParam¬
  20382. "Cmd char :,Menu name :,Item name :,SubItem name :",┬¼
  20383. "H,MyMenu,Item 1,Subitem 1.1"
  20384. end mouseUp
  20385. </script>
  20386.     </part>
  20387.     <part>
  20388.         <id>22</id>
  20389.         <type>button</type>
  20390.         <visible> <true /> </visible>
  20391.         <reserved5> 0 </reserved5>
  20392.         <reserved4> 0 </reserved4>
  20393.         <reserved3> 0 </reserved3>
  20394.         <reserved2> 0 </reserved2>
  20395.         <reserved1> 0 </reserved1>
  20396.         <enabled> <true /> </enabled>
  20397.         <rect>
  20398.             <left>276</left>
  20399.             <top>231</top>
  20400.             <right>347</right>
  20401.             <bottom>251</bottom>
  20402.         </rect>
  20403.         <style>shadow</style>
  20404.         <showName> <true /> </showName>
  20405.         <highlight> <false /> </highlight>
  20406.         <autoHighlight> <true /> </autoHighlight>
  20407.         <sharedHighlight> <true /> </sharedHighlight>
  20408.         <family>0</family>
  20409.         <titleWidth>0</titleWidth>
  20410.         <icon>0</icon>
  20411.         <textAlign>center</textAlign>
  20412.         <font>Geneva</font>
  20413.         <textSize>10</textSize>
  20414.         <textStyle>plain</textStyle>
  20415.         <name>GetIcon</name>
  20416.         <script>on mouseUp
  20417. ParseParam¬
  20418. "Menu name :,Item name :,SubItem name :","MyMenu,Item 1,Subitem 1.1"
  20419. end mouseUp
  20420. </script>
  20421.     </part>
  20422.     <part>
  20423.         <id>23</id>
  20424.         <type>button</type>
  20425.         <visible> <true /> </visible>
  20426.         <reserved5> 0 </reserved5>
  20427.         <reserved4> 0 </reserved4>
  20428.         <reserved3> 0 </reserved3>
  20429.         <reserved2> 0 </reserved2>
  20430.         <reserved1> 0 </reserved1>
  20431.         <enabled> <true /> </enabled>
  20432.         <rect>
  20433.             <left>375</left>
  20434.             <top>231</top>
  20435.             <right>446</right>
  20436.             <bottom>251</bottom>
  20437.         </rect>
  20438.         <style>shadow</style>
  20439.         <showName> <true /> </showName>
  20440.         <highlight> <false /> </highlight>
  20441.         <autoHighlight> <true /> </autoHighlight>
  20442.         <sharedHighlight> <true /> </sharedHighlight>
  20443.         <family>0</family>
  20444.         <titleWidth>0</titleWidth>
  20445.         <icon>0</icon>
  20446.         <textAlign>center</textAlign>
  20447.         <font>Geneva</font>
  20448.         <textSize>10</textSize>
  20449.         <textStyle>plain</textStyle>
  20450.         <name>SetIcon</name>
  20451.         <script>on mouseUp
  20452. ParseParam¬
  20453. "ICON ID :,Menu name :,Item name :,SubItem name :",┬¼
  20454. "257,MyMenu,Item 1,Subitem 1.1"
  20455. end mouseUp
  20456. </script>
  20457.     </part>
  20458.     <part>
  20459.         <id>24</id>
  20460.         <type>button</type>
  20461.         <visible> <true /> </visible>
  20462.         <reserved5> 0 </reserved5>
  20463.         <reserved4> 0 </reserved4>
  20464.         <reserved3> 0 </reserved3>
  20465.         <reserved2> 0 </reserved2>
  20466.         <reserved1> 0 </reserved1>
  20467.         <enabled> <true /> </enabled>
  20468.         <rect>
  20469.             <left>78</left>
  20470.             <top>254</top>
  20471.             <right>149</right>
  20472.             <bottom>274</bottom>
  20473.         </rect>
  20474.         <style>shadow</style>
  20475.         <showName> <true /> </showName>
  20476.         <highlight> <false /> </highlight>
  20477.         <autoHighlight> <true /> </autoHighlight>
  20478.         <sharedHighlight> <true /> </sharedHighlight>
  20479.         <family>0</family>
  20480.         <titleWidth>0</titleWidth>
  20481.         <icon>0</icon>
  20482.         <textAlign>center</textAlign>
  20483.         <font>Geneva</font>
  20484.         <textSize>10</textSize>
  20485.         <textStyle>plain</textStyle>
  20486.         <name>GetStyle</name>
  20487.         <script>on mouseUp
  20488. ParseParam¬
  20489. "Menu name :,Item name :,SubItem name :","MyMenu,Item 1,Subitem 1.1"
  20490. end mouseUp
  20491. </script>
  20492.     </part>
  20493.     <part>
  20494.         <id>25</id>
  20495.         <type>button</type>
  20496.         <visible> <true /> </visible>
  20497.         <reserved5> 0 </reserved5>
  20498.         <reserved4> 0 </reserved4>
  20499.         <reserved3> 0 </reserved3>
  20500.         <reserved2> 0 </reserved2>
  20501.         <reserved1> 0 </reserved1>
  20502.         <enabled> <true /> </enabled>
  20503.         <rect>
  20504.             <left>177</left>
  20505.             <top>254</top>
  20506.             <right>248</right>
  20507.             <bottom>274</bottom>
  20508.         </rect>
  20509.         <style>shadow</style>
  20510.         <showName> <true /> </showName>
  20511.         <highlight> <false /> </highlight>
  20512.         <autoHighlight> <true /> </autoHighlight>
  20513.         <sharedHighlight> <true /> </sharedHighlight>
  20514.         <family>0</family>
  20515.         <titleWidth>0</titleWidth>
  20516.         <icon>0</icon>
  20517.         <textAlign>center</textAlign>
  20518.         <font>Geneva</font>
  20519.         <textSize>10</textSize>
  20520.         <textStyle>plain</textStyle>
  20521.         <name>SetStyle</name>
  20522.         <script>on mouseUp
  20523. ParseParam¬
  20524. "Style : (N B I U O S C E),Menu name :,Item name :,SubItem name :",┬¼
  20525. "BI,MyMenu,Item 1,Subitem 1.1"
  20526. end mouseUp
  20527. </script>
  20528.     </part>
  20529.     <part>
  20530.         <id>26</id>
  20531.         <type>button</type>
  20532.         <visible> <true /> </visible>
  20533.         <reserved5> 0 </reserved5>
  20534.         <reserved4> 0 </reserved4>
  20535.         <reserved3> 0 </reserved3>
  20536.         <reserved2> 0 </reserved2>
  20537.         <reserved1> 0 </reserved1>
  20538.         <enabled> <true /> </enabled>
  20539.         <rect>
  20540.             <left>276</left>
  20541.             <top>254</top>
  20542.             <right>347</right>
  20543.             <bottom>274</bottom>
  20544.         </rect>
  20545.         <style>shadow</style>
  20546.         <showName> <true /> </showName>
  20547.         <highlight> <false /> </highlight>
  20548.         <autoHighlight> <true /> </autoHighlight>
  20549.         <sharedHighlight> <true /> </sharedHighlight>
  20550.         <family>0</family>
  20551.         <titleWidth>0</titleWidth>
  20552.         <icon>0</icon>
  20553.         <textAlign>center</textAlign>
  20554.         <font>Geneva</font>
  20555.         <textSize>10</textSize>
  20556.         <textStyle>plain</textStyle>
  20557.         <name>GetSicn</name>
  20558.         <script>on mouseUp
  20559. ParseParam¬
  20560. "Menu name :,Item name :,SubItem name :","MyMenu,Item 1,Subitem 1.1"
  20561. end mouseUp
  20562. </script>
  20563.     </part>
  20564.     <part>
  20565.         <id>27</id>
  20566.         <type>button</type>
  20567.         <visible> <true /> </visible>
  20568.         <reserved5> 0 </reserved5>
  20569.         <reserved4> 0 </reserved4>
  20570.         <reserved3> 0 </reserved3>
  20571.         <reserved2> 0 </reserved2>
  20572.         <reserved1> 0 </reserved1>
  20573.         <enabled> <true /> </enabled>
  20574.         <rect>
  20575.             <left>375</left>
  20576.             <top>254</top>
  20577.             <right>446</right>
  20578.             <bottom>274</bottom>
  20579.         </rect>
  20580.         <style>shadow</style>
  20581.         <showName> <true /> </showName>
  20582.         <highlight> <false /> </highlight>
  20583.         <autoHighlight> <true /> </autoHighlight>
  20584.         <sharedHighlight> <true /> </sharedHighlight>
  20585.         <family>0</family>
  20586.         <titleWidth>0</titleWidth>
  20587.         <icon>0</icon>
  20588.         <textAlign>center</textAlign>
  20589.         <font>Geneva</font>
  20590.         <textSize>10</textSize>
  20591.         <textStyle>plain</textStyle>
  20592.         <name>SetSicn</name>
  20593.         <script>on mouseUp
  20594. ParseParam¬
  20595. "SICN ID :,Menu name :,Item name :,SubItem name :",┬¼
  20596. "257,MyMenu,Item 1,Subitem 1.1"
  20597. end mouseUp
  20598. </script>
  20599.     </part>
  20600.     <part>
  20601.         <id>28</id>
  20602.         <type>button</type>
  20603.         <visible> <true /> </visible>
  20604.         <reserved5> 0 </reserved5>
  20605.         <reserved4> 0 </reserved4>
  20606.         <reserved3> 0 </reserved3>
  20607.         <reserved2> 0 </reserved2>
  20608.         <reserved1> 0 </reserved1>
  20609.         <enabled> <true /> </enabled>
  20610.         <rect>
  20611.             <left>16</left>
  20612.             <top>305</top>
  20613.             <right>58</right>
  20614.             <bottom>342</bottom>
  20615.         </rect>
  20616.         <style>transparent</style>
  20617.         <showName> <false /> </showName>
  20618.         <highlight> <false /> </highlight>
  20619.         <autoHighlight> <true /> </autoHighlight>
  20620.         <sharedHighlight> <true /> </sharedHighlight>
  20621.         <family>0</family>
  20622.         <titleWidth>0</titleWidth>
  20623.         <icon>29114</icon>
  20624.         <textAlign>center</textAlign>
  20625.         <font>Geneva</font>
  20626.         <textSize>12</textSize>
  20627.         <textStyle>plain</textStyle>
  20628.         <name>Back</name>
  20629.         <script>on mouseUp
  20630. go prev
  20631. end mouseUp
  20632. </script>
  20633.     </part>
  20634.     <part>
  20635.         <id>34</id>
  20636.         <type>field</type>
  20637.         <visible> <true /> </visible>
  20638.         <dontWrap> <false /> </dontWrap>
  20639.         <dontSearch> <false /> </dontSearch>
  20640.         <sharedText> <false /> </sharedText>
  20641.         <fixedLineHeight> <true /> </fixedLineHeight>
  20642.         <autoTab> <false /> </autoTab>
  20643.         <lockText> <false /> </lockText>
  20644.         <rect>
  20645.             <left>42</left>
  20646.             <top>76</top>
  20647.             <right>426</right>
  20648.             <bottom>148</bottom>
  20649.         </rect>
  20650.         <style>scrolling</style>
  20651.         <autoSelect> <false /> </autoSelect>
  20652.         <showLines> <false /> </showLines>
  20653.         <wideMargins> <false /> </wideMargins>
  20654.         <multipleLines> <false /> </multipleLines>
  20655.         <reservedFamily> 0 </reservedFamily>
  20656.         <titleWidth>0</titleWidth>
  20657.         <icon>0</icon>
  20658.         <textAlign>left</textAlign>
  20659.         <font>Geneva</font>
  20660.         <textSize>10</textSize>
  20661.         <textStyle>plain</textStyle>
  20662.         <textHeight>13</textHeight>
  20663.         <name>MenuDef2</name>
  20664.         <script></script>
  20665.     </part>
  20666.     <part>
  20667.         <id>35</id>
  20668.         <type>field</type>
  20669.         <visible> <false /> </visible>
  20670.         <dontWrap> <false /> </dontWrap>
  20671.         <dontSearch> <false /> </dontSearch>
  20672.         <sharedText> <false /> </sharedText>
  20673.         <fixedLineHeight> <true /> </fixedLineHeight>
  20674.         <autoTab> <false /> </autoTab>
  20675.         <lockText> <true /> </lockText>
  20676.         <rect>
  20677.             <left>42</left>
  20678.             <top>4</top>
  20679.             <right>428</right>
  20680.             <bottom>149</bottom>
  20681.         </rect>
  20682.         <style>shadow</style>
  20683.         <autoSelect> <false /> </autoSelect>
  20684.         <showLines> <false /> </showLines>
  20685.         <wideMargins> <true /> </wideMargins>
  20686.         <multipleLines> <false /> </multipleLines>
  20687.         <reservedFamily> 0 </reservedFamily>
  20688.         <titleWidth>0</titleWidth>
  20689.         <icon>0</icon>
  20690.         <textAlign>left</textAlign>
  20691.         <font>Geneva</font>
  20692.         <textSize>10</textSize>
  20693.         <textStyle>plain</textStyle>
  20694.         <textHeight>13</textHeight>
  20695.         <name>Result</name>
  20696.         <script></script>
  20697.     </part>
  20698.     <part>
  20699.         <id>36</id>
  20700.         <type>button</type>
  20701.         <visible> <false /> </visible>
  20702.         <reserved5> 0 </reserved5>
  20703.         <reserved4> 0 </reserved4>
  20704.         <reserved3> 0 </reserved3>
  20705.         <reserved2> 0 </reserved2>
  20706.         <reserved1> 0 </reserved1>
  20707.         <enabled> <true /> </enabled>
  20708.         <rect>
  20709.             <left>37</left>
  20710.             <top>0</top>
  20711.             <right>49</right>
  20712.             <bottom>12</bottom>
  20713.         </rect>
  20714.         <style>rectangle</style>
  20715.         <showName> <false /> </showName>
  20716.         <highlight> <false /> </highlight>
  20717.         <autoHighlight> <true /> </autoHighlight>
  20718.         <sharedHighlight> <true /> </sharedHighlight>
  20719.         <family>0</family>
  20720.         <titleWidth>0</titleWidth>
  20721.         <icon>0</icon>
  20722.         <textAlign>center</textAlign>
  20723.         <font>Geneva</font>
  20724.         <textSize>12</textSize>
  20725.         <textStyle>plain</textStyle>
  20726.         <name>Box</name>
  20727.         <script>on mouseUp
  20728. hide me
  20729. hide cd fld "REsult"
  20730. end mouseUp
  20731. </script>
  20732.     </part>
  20733.     <part>
  20734.         <id>37</id>
  20735.         <type>button</type>
  20736.         <visible> <true /> </visible>
  20737.         <reserved5> 0 </reserved5>
  20738.         <reserved4> 0 </reserved4>
  20739.         <reserved3> 0 </reserved3>
  20740.         <reserved2> 0 </reserved2>
  20741.         <reserved1> 0 </reserved1>
  20742.         <enabled> <true /> </enabled>
  20743.         <rect>
  20744.             <left>177</left>
  20745.             <top>277</top>
  20746.             <right>248</right>
  20747.             <bottom>297</bottom>
  20748.         </rect>
  20749.         <style>shadow</style>
  20750.         <showName> <true /> </showName>
  20751.         <highlight> <false /> </highlight>
  20752.         <autoHighlight> <true /> </autoHighlight>
  20753.         <sharedHighlight> <true /> </sharedHighlight>
  20754.         <family>0</family>
  20755.         <titleWidth>0</titleWidth>
  20756.         <icon>0</icon>
  20757.         <textAlign>center</textAlign>
  20758.         <font>Geneva</font>
  20759.         <textSize>10</textSize>
  20760.         <textStyle>plain</textStyle>
  20761.         <name>Count</name>
  20762.         <script>on mouseUp
  20763. ParseParam¬
  20764. "Menu name : (* = all),Item name : (* = all),subItem name : (* = all)",┬¼
  20765. "MyMenu,Item 1,*"
  20766. end mouseUp
  20767. </script>
  20768.     </part>
  20769.     <part>
  20770.         <id>38</id>
  20771.         <type>button</type>
  20772.         <visible> <true /> </visible>
  20773.         <reserved5> 0 </reserved5>
  20774.         <reserved4> 0 </reserved4>
  20775.         <reserved3> 0 </reserved3>
  20776.         <reserved2> 0 </reserved2>
  20777.         <reserved1> 0 </reserved1>
  20778.         <enabled> <true /> </enabled>
  20779.         <rect>
  20780.             <left>78</left>
  20781.             <top>277</top>
  20782.             <right>149</right>
  20783.             <bottom>297</bottom>
  20784.         </rect>
  20785.         <style>shadow</style>
  20786.         <showName> <true /> </showName>
  20787.         <highlight> <false /> </highlight>
  20788.         <autoHighlight> <true /> </autoHighlight>
  20789.         <sharedHighlight> <true /> </sharedHighlight>
  20790.         <family>0</family>
  20791.         <titleWidth>0</titleWidth>
  20792.         <icon>0</icon>
  20793.         <textAlign>center</textAlign>
  20794.         <font>Geneva</font>
  20795.         <textSize>10</textSize>
  20796.         <textStyle>plain</textStyle>
  20797.         <name>?</name>
  20798.         <script>on mouseUp
  20799. ParseParam¬
  20800. "Command name :","Switch"
  20801. end mouseUp
  20802. </script>
  20803.     </part>
  20804.     <content>
  20805.         <layer>card</layer>
  20806.         <id>1</id>
  20807.         <text>MyMenu
  20808. <Bitem 1<I,subItem 1.1<B,SubItem 1.2<I,<OSubItem 1.3
  20809. ^257Item 2,(SubItem 2.1,subItem 2.2,(-,SubItem 2.3
  20810. item 3<i
  20811. ¨257</text>
  20812.     </content>
  20813.     <content>
  20814.         <layer>card</layer>
  20815.         <id>2</id>
  20816.         <text>Menu "GetSicn","MyMenu","Item 1","Subitem 1.1"</text>
  20817.     </content>
  20818.     <content>
  20819.         <layer>card</layer>
  20820.         <id>34</id>
  20821.         <text>OtherMenu
  20822. Styles,Normal,<Bbold,<IItalic,<UUnderline,<OOutline,<SShadow
  20823. Big Fred,^257
  20824. Small Fred,┬¿257
  20825. </text>
  20826.     </content>
  20827.     <content>
  20828.         <layer>card</layer>
  20829.         <id>35</id>
  20830.         <text>File,Utilities,Groupies,Markers</text>
  20831.     </content>
  20832.     <name>Menu 2.1-2</name>
  20833.     <script>on ParseParam Prompt,Default
  20834. put "Menu" && Q(short name of the target) into cd fld "Cmd"
  20835. -- ask for correct number of parameters
  20836. put "," into Cmd
  20837. get empty
  20838. put 0 into Nb
  20839. repeat until (it = "*") or (Nb = number of items of Prompt)
  20840. Ask item Nb + 1 of Prompt with item Nb + 1 of Default
  20841. if the Result is "Cancel"
  20842. then exit to HyperCard
  20843. if it Γëá empty
  20844. then put quote & it & quote & "," after Cmd
  20845. else get "*"
  20846. add 1 to Nb
  20847. end repeat
  20848.  
  20849. delete last char of cmd
  20850. put Cmd after cd fld "Cmd"
  20851.  
  20852. DoMenuXCMD
  20853. end ParseParam
  20854.  
  20855. -- on DoMenuXCMD
  20856. do card field "Cmd"
  20857. get the Result
  20858. if it Γëá empty
  20859. then answer it
  20860. end DoMenuXCMD
  20861.  
  20862. on DoMenuXCMD
  20863. -- execute content of field "Cmd"
  20864. do card field "Cmd"
  20865. if the Result Γëá empty
  20866. then
  20867. if value of word 2 of cd fld "Cmd" is in "List,Find"
  20868. then
  20869. if first word of the Result Γëá "Error"
  20870. then
  20871. put the Result into cd fld "Result"
  20872. show btn "box"
  20873. show cd fld "Result"
  20874. else answer the Result
  20875. else answer the Result
  20876. end if
  20877. end DoMenuXCMD
  20878.  
  20879. function Q what
  20880. return quote & what & quote
  20881. end Q
  20882.  
  20883. on closeCard
  20884. hide btn "Box"
  20885. hide cd fld "REsult"
  20886. end closeCard
  20887.  
  20888.  
  20889.  
  20890.  
  20891. on opencard
  20892. end opencard
  20893.  
  20894. on closeCard
  20895. end closeCard
  20896.  
  20897. on doMenu What
  20898. Menu "Find",What
  20899. if the Result Γëá empty
  20900. then
  20901. answer "This is a call to user menu ΓÇ£" & item 1 of the Result┬¼
  20902. & "ΓÇ¥"
  20903. else
  20904. Menu "List","*"
  20905. if first item of the Result is "File"
  20906. then
  20907. if What is "About HyperCard..."
  20908. then answer "This is a call for user About..."
  20909. else if What is "HelpΓǪ"
  20910. then answer "This is a call for user" && What
  20911. else pass doMenu
  20912. else pass doMenu
  20913. end if
  20914. end doMenu
  20915.  
  20916. </script>
  20917. </card>
  20918.  
  20919.  
  20920. card_35046.xml
  20921. <?xml version="1.0" encoding="utf-8" ?>
  20922. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  20923. <card>
  20924.     <id>35046</id>
  20925.     <filler1>0</filler1>
  20926.     <bitmap>BMAP_35265.pbm</bitmap>
  20927.     <cantDelete> <false /> </cantDelete>
  20928.     <showPict> <true /> </showPict>
  20929.     <dontSearch> <false /> </dontSearch>
  20930.     <owner>46925</owner>
  20931.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  20932.     <part>
  20933.         <id>1</id>
  20934.         <type>field</type>
  20935.         <visible> <true /> </visible>
  20936.         <dontWrap> <false /> </dontWrap>
  20937.         <dontSearch> <false /> </dontSearch>
  20938.         <sharedText> <false /> </sharedText>
  20939.         <fixedLineHeight> <true /> </fixedLineHeight>
  20940.         <autoTab> <false /> </autoTab>
  20941.         <lockText> <true /> </lockText>
  20942.         <rect>
  20943.             <left>69</left>
  20944.             <top>68</top>
  20945.             <right>434</right>
  20946.             <bottom>252</bottom>
  20947.         </rect>
  20948.         <style>scrolling</style>
  20949.         <autoSelect> <false /> </autoSelect>
  20950.         <showLines> <false /> </showLines>
  20951.         <wideMargins> <false /> </wideMargins>
  20952.         <multipleLines> <false /> </multipleLines>
  20953.         <reservedFamily> 0 </reservedFamily>
  20954.         <titleWidth>0</titleWidth>
  20955.         <icon>0</icon>
  20956.         <textAlign>left</textAlign>
  20957.         <font>Geneva</font>
  20958.         <textSize>9</textSize>
  20959.         <textStyle>plain</textStyle>
  20960.         <textHeight>12</textHeight>
  20961.         <name></name>
  20962.         <script></script>
  20963.     </part>
  20964.     <part>
  20965.         <id>5</id>
  20966.         <type>button</type>
  20967.         <visible> <true /> </visible>
  20968.         <reserved5> 0 </reserved5>
  20969.         <reserved4> 0 </reserved4>
  20970.         <reserved3> 0 </reserved3>
  20971.         <reserved2> 0 </reserved2>
  20972.         <reserved1> 0 </reserved1>
  20973.         <enabled> <true /> </enabled>
  20974.         <rect>
  20975.             <left>174</left>
  20976.             <top>281</top>
  20977.             <right>343</right>
  20978.             <bottom>311</bottom>
  20979.         </rect>
  20980.         <style>roundrect</style>
  20981.         <showName> <true /> </showName>
  20982.         <highlight> <false /> </highlight>
  20983.         <autoHighlight> <true /> </autoHighlight>
  20984.         <sharedHighlight> <true /> </sharedHighlight>
  20985.         <family>0</family>
  20986.         <titleWidth>0</titleWidth>
  20987.         <icon>0</icon>
  20988.         <textAlign>center</textAlign>
  20989.         <font>Chicago</font>
  20990.         <textSize>12</textSize>
  20991.         <textStyle>plain</textStyle>
  20992.         <name>Mousoid</name>
  20993.         <script>on mouseUp
  20994. Mousoid
  20995. if the Result Γëá empty
  20996. then answer the Result
  20997. end mouseUp</script>
  20998.     </part>
  20999.     <content>
  21000.         <layer>card</layer>
  21001.         <id>1</id>
  21002.         <text>
  21003.  
  21004.                                                 Mousoid 1.1
  21005.  
  21006.                                           by Fr├⌐d├⌐ric RINALDI
  21007.  
  21008.  
  21009. DESCRIPTION
  21010. ------------
  21011.   Mousoid XCMD displays a windoid showing current mouse position.
  21012.  
  21013.  
  21014. SYNTAX
  21015. --------
  21016.                                           Mousoid [<X>,<Y>]
  21017.  
  21018. PARAMETERS
  21019. ------------
  21020.    X and Y are optional integer, allowing to give coordinates where the window will appear on screen.
  21021.  
  21022.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  21023.  
  21024. USING
  21025. -----
  21026.    Mousoid is stand alone, no linked resource is needed.
  21027.  
  21028.    Clicking on the zoom box displays more informations.
  21029.  
  21030.    Like any XWindow, Mousoid has properties that can be get and set thru HyperTalk. 
  21031.   ΓÇ£properties of window "Mousoid"ΓÇ¥ will return an item list of all allowed properties. Properties cannot be set.
  21032.    Most usual are Loc and visible. So you can move the windoid on the screen, and make it invisible.
  21033.  
  21034. If an error occurs, Mousoid can return :
  21035.  
  21036.      "Error : Unable to create XWindow"
  21037.      "Error : XWindows not implemented"
  21038. </text>
  21039.     </content>
  21040.     <name>Mousoid 1.1</name>
  21041.     <script>
  21042.  
  21043.  
  21044.  
  21045. on opencard
  21046. end opencard
  21047.  
  21048. on closeCard
  21049. if there is a window "Mousoid"
  21050. then close window "Mousoid"
  21051. end closeCard
  21052.  
  21053. </script>
  21054. </card>
  21055.  
  21056.  
  21057. card_48235.xml
  21058. <?xml version="1.0" encoding="utf-8" ?>
  21059. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  21060. <card>
  21061.     <id>48235</id>
  21062.     <filler1>0</filler1>
  21063.     <bitmap>BMAP_51705.pbm</bitmap>
  21064.     <cantDelete> <false /> </cantDelete>
  21065.     <showPict> <true /> </showPict>
  21066.     <dontSearch> <false /> </dontSearch>
  21067.     <owner>46925</owner>
  21068.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  21069.     <part>
  21070.         <id>1</id>
  21071.         <type>field</type>
  21072.         <visible> <true /> </visible>
  21073.         <dontWrap> <false /> </dontWrap>
  21074.         <dontSearch> <false /> </dontSearch>
  21075.         <sharedText> <false /> </sharedText>
  21076.         <fixedLineHeight> <true /> </fixedLineHeight>
  21077.         <autoTab> <false /> </autoTab>
  21078.         <lockText> <true /> </lockText>
  21079.         <rect>
  21080.             <left>69</left>
  21081.             <top>68</top>
  21082.             <right>434</right>
  21083.             <bottom>252</bottom>
  21084.         </rect>
  21085.         <style>scrolling</style>
  21086.         <autoSelect> <false /> </autoSelect>
  21087.         <showLines> <false /> </showLines>
  21088.         <wideMargins> <false /> </wideMargins>
  21089.         <multipleLines> <false /> </multipleLines>
  21090.         <reservedFamily> 0 </reservedFamily>
  21091.         <titleWidth>0</titleWidth>
  21092.         <icon>0</icon>
  21093.         <textAlign>left</textAlign>
  21094.         <font>Geneva</font>
  21095.         <textSize>9</textSize>
  21096.         <textStyle>plain</textStyle>
  21097.         <textHeight>12</textHeight>
  21098.         <name>Text</name>
  21099.         <script></script>
  21100.     </part>
  21101.     <part>
  21102.         <id>2</id>
  21103.         <type>button</type>
  21104.         <visible> <true /> </visible>
  21105.         <reserved5> 0 </reserved5>
  21106.         <reserved4> 0 </reserved4>
  21107.         <reserved3> 0 </reserved3>
  21108.         <reserved2> 0 </reserved2>
  21109.         <reserved1> 0 </reserved1>
  21110.         <enabled> <true /> </enabled>
  21111.         <rect>
  21112.             <left>174</left>
  21113.             <top>281</top>
  21114.             <right>343</right>
  21115.             <bottom>311</bottom>
  21116.         </rect>
  21117.         <style>roundrect</style>
  21118.         <showName> <true /> </showName>
  21119.         <highlight> <false /> </highlight>
  21120.         <autoHighlight> <true /> </autoHighlight>
  21121.         <sharedHighlight> <true /> </sharedHighlight>
  21122.         <family>0</family>
  21123.         <titleWidth>0</titleWidth>
  21124.         <icon>0</icon>
  21125.         <textAlign>center</textAlign>
  21126.         <font>Geneva</font>
  21127.         <textSize>12</textSize>
  21128.         <textStyle>plain</textStyle>
  21129.         <name>NameNewFile</name>
  21130.         <script>on mouseUp
  21131. answer NameNewFile()
  21132. end mouseUp
  21133. </script>
  21134.     </part>
  21135.     <content>
  21136.         <layer>card</layer>
  21137.         <id>1</id>
  21138.         <text>
  21139.  
  21140.                                             NameNewFile 1.0
  21141.  
  21142.                                           by Fr├⌐d├⌐ric RINALDI
  21143.  
  21144.  
  21145. DESCRIPTION
  21146. ------------
  21147.   NameNewFile provides a dialog allowing to name a new file and its destination (SFPutFile). Not anymore required with HC2.0 which includes this feature.
  21148.  
  21149.  
  21150. SYNTAX
  21151. -------
  21152.                         NameNewFile([<default name>[,<prompt>]])
  21153.  
  21154.  
  21155. PARAMETERS
  21156. ------------
  21157.    <default name> is the file default name.
  21158.  
  21159.    <prompt> is the message appearing in the dialog.
  21160.  
  21161.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  21162.  
  21163.  
  21164. USING
  21165. -----
  21166.    The XFCN returns the full pathame of named file.
  21167.    An empty string is returned if the user clicked on Cancel.
  21168.    Although working fine with both System 6 and System 7, FullSFPack is better suited for the latter, due in part to alias handling.
  21169.  
  21170.  
  21171. HISTORY
  21172. --------
  21173. 1.0                                                                                        17/07/92
  21174. ΓÇó First public release
  21175. </text>
  21176.     </content>
  21177.     <name></name>
  21178.     <script></script>
  21179. </card>
  21180.  
  21181.  
  21182. card_35576.xml
  21183. <?xml version="1.0" encoding="utf-8" ?>
  21184. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  21185. <card>
  21186.     <id>35576</id>
  21187.     <filler1>0</filler1>
  21188.     <bitmap>BMAP_35639.pbm</bitmap>
  21189.     <cantDelete> <false /> </cantDelete>
  21190.     <showPict> <true /> </showPict>
  21191.     <dontSearch> <false /> </dontSearch>
  21192.     <owner>46925</owner>
  21193.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  21194.     <part>
  21195.         <id>1</id>
  21196.         <type>field</type>
  21197.         <visible> <true /> </visible>
  21198.         <dontWrap> <false /> </dontWrap>
  21199.         <dontSearch> <false /> </dontSearch>
  21200.         <sharedText> <false /> </sharedText>
  21201.         <fixedLineHeight> <true /> </fixedLineHeight>
  21202.         <autoTab> <false /> </autoTab>
  21203.         <lockText> <false /> </lockText>
  21204.         <rect>
  21205.             <left>69</left>
  21206.             <top>68</top>
  21207.             <right>434</right>
  21208.             <bottom>252</bottom>
  21209.         </rect>
  21210.         <style>scrolling</style>
  21211.         <autoSelect> <false /> </autoSelect>
  21212.         <showLines> <false /> </showLines>
  21213.         <wideMargins> <false /> </wideMargins>
  21214.         <multipleLines> <false /> </multipleLines>
  21215.         <reservedFamily> 0 </reservedFamily>
  21216.         <titleWidth>0</titleWidth>
  21217.         <icon>0</icon>
  21218.         <textAlign>left</textAlign>
  21219.         <font>Geneva</font>
  21220.         <textSize>9</textSize>
  21221.         <textStyle>plain</textStyle>
  21222.         <textHeight>12</textHeight>
  21223.         <name>Text</name>
  21224.         <script></script>
  21225.     </part>
  21226.     <part>
  21227.         <id>5</id>
  21228.         <type>button</type>
  21229.         <visible> <true /> </visible>
  21230.         <reserved5> 0 </reserved5>
  21231.         <reserved4> 0 </reserved4>
  21232.         <reserved3> 0 </reserved3>
  21233.         <reserved2> 0 </reserved2>
  21234.         <reserved1> 0 </reserved1>
  21235.         <enabled> <true /> </enabled>
  21236.         <rect>
  21237.             <left>174</left>
  21238.             <top>281</top>
  21239.             <right>343</right>
  21240.             <bottom>311</bottom>
  21241.         </rect>
  21242.         <style>roundrect</style>
  21243.         <showName> <true /> </showName>
  21244.         <highlight> <false /> </highlight>
  21245.         <autoHighlight> <true /> </autoHighlight>
  21246.         <sharedHighlight> <true /> </sharedHighlight>
  21247.         <family>0</family>
  21248.         <titleWidth>0</titleWidth>
  21249.         <icon>0</icon>
  21250.         <textAlign>center</textAlign>
  21251.         <font>Chicago</font>
  21252.         <textSize>12</textSize>
  21253.         <textStyle>plain</textStyle>
  21254.         <name>Notification</name>
  21255.         <script>on mouseUp
  21256. doMenu "Finder"
  21257. wait 1 sec
  21258. Notification
  21259. answer "Hello world..."
  21260. end mouseUp</script>
  21261.     </part>
  21262.     <content>
  21263.         <layer>card</layer>
  21264.         <id>1</id>
  21265.         <text>
  21266.  
  21267.                                             Notification 1.0
  21268.  
  21269.                                           by Fr├⌐d├⌐ric RINALDI
  21270.  
  21271.  
  21272. DESCRIPTION
  21273. ------------
  21274.   Notification allows to invoke the Notification Manager under Multifinder.
  21275.  
  21276. SYNTAX
  21277. --------
  21278.                                                 Notification
  21279.  
  21280. PARAMETERS
  21281. ------------
  21282.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  21283.  
  21284. USING
  21285. -----
  21286.    Must be used to alert the user when HyperCard is running in the background. Notification starts blinking a small HyperCard icon in place of the Apple of the Apple menu, and suspends the script execution. Activating HyperCard window stops blinking and restarts the script.
  21287. </text>
  21288.     </content>
  21289.     <name>Notification 1.0</name>
  21290.     <script>
  21291.  
  21292.  
  21293.  
  21294. on opencard
  21295. end opencard
  21296.  
  21297. on closeCard
  21298. end closeCard
  21299.  
  21300. </script>
  21301. </card>
  21302.  
  21303.  
  21304. card_35889.xml
  21305. <?xml version="1.0" encoding="utf-8" ?>
  21306. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  21307. <card>
  21308.     <id>35889</id>
  21309.     <filler1>0</filler1>
  21310.     <bitmap>BMAP_36117.pbm</bitmap>
  21311.     <cantDelete> <false /> </cantDelete>
  21312.     <showPict> <true /> </showPict>
  21313.     <dontSearch> <false /> </dontSearch>
  21314.     <owner>46925</owner>
  21315.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  21316.     <part>
  21317.         <id>1</id>
  21318.         <type>field</type>
  21319.         <visible> <true /> </visible>
  21320.         <dontWrap> <false /> </dontWrap>
  21321.         <dontSearch> <false /> </dontSearch>
  21322.         <sharedText> <false /> </sharedText>
  21323.         <fixedLineHeight> <true /> </fixedLineHeight>
  21324.         <autoTab> <false /> </autoTab>
  21325.         <lockText> <true /> </lockText>
  21326.         <rect>
  21327.             <left>69</left>
  21328.             <top>68</top>
  21329.             <right>434</right>
  21330.             <bottom>252</bottom>
  21331.         </rect>
  21332.         <style>scrolling</style>
  21333.         <autoSelect> <false /> </autoSelect>
  21334.         <showLines> <false /> </showLines>
  21335.         <wideMargins> <false /> </wideMargins>
  21336.         <multipleLines> <false /> </multipleLines>
  21337.         <reservedFamily> 0 </reservedFamily>
  21338.         <titleWidth>0</titleWidth>
  21339.         <icon>0</icon>
  21340.         <textAlign>left</textAlign>
  21341.         <font>Geneva</font>
  21342.         <textSize>9</textSize>
  21343.         <textStyle>plain</textStyle>
  21344.         <textHeight>12</textHeight>
  21345.         <name>Text</name>
  21346.         <script></script>
  21347.     </part>
  21348.     <part>
  21349.         <id>2</id>
  21350.         <type>button</type>
  21351.         <visible> <true /> </visible>
  21352.         <reserved5> 0 </reserved5>
  21353.         <reserved4> 0 </reserved4>
  21354.         <reserved3> 0 </reserved3>
  21355.         <reserved2> 0 </reserved2>
  21356.         <reserved1> 0 </reserved1>
  21357.         <enabled> <true /> </enabled>
  21358.         <rect>
  21359.             <left>174</left>
  21360.             <top>281</top>
  21361.             <right>343</right>
  21362.             <bottom>311</bottom>
  21363.         </rect>
  21364.         <style>roundrect</style>
  21365.         <showName> <true /> </showName>
  21366.         <highlight> <false /> </highlight>
  21367.         <autoHighlight> <true /> </autoHighlight>
  21368.         <sharedHighlight> <true /> </sharedHighlight>
  21369.         <family>0</family>
  21370.         <titleWidth>0</titleWidth>
  21371.         <icon>0</icon>
  21372.         <textAlign>center</textAlign>
  21373.         <font>Geneva</font>
  21374.         <textSize>12</textSize>
  21375.         <textStyle>plain</textStyle>
  21376.         <name>NubusList</name>
  21377.         <script>on mouseUp
  21378. put NubusList() into cd fld 2
  21379. show cd fld 2
  21380. end mouseUp
  21381. </script>
  21382.     </part>
  21383.     <part>
  21384.         <id>3</id>
  21385.         <type>field</type>
  21386.         <visible> <false /> </visible>
  21387.         <dontWrap> <false /> </dontWrap>
  21388.         <dontSearch> <false /> </dontSearch>
  21389.         <sharedText> <false /> </sharedText>
  21390.         <fixedLineHeight> <true /> </fixedLineHeight>
  21391.         <autoTab> <false /> </autoTab>
  21392.         <lockText> <true /> </lockText>
  21393.         <rect>
  21394.             <left>127</left>
  21395.             <top>107</top>
  21396.             <right>386</right>
  21397.             <bottom>214</bottom>
  21398.         </rect>
  21399.         <style>shadow</style>
  21400.         <autoSelect> <false /> </autoSelect>
  21401.         <showLines> <false /> </showLines>
  21402.         <wideMargins> <true /> </wideMargins>
  21403.         <multipleLines> <false /> </multipleLines>
  21404.         <reservedFamily> 0 </reservedFamily>
  21405.         <titleWidth>0</titleWidth>
  21406.         <icon>0</icon>
  21407.         <textAlign>center</textAlign>
  21408.         <font>Geneva</font>
  21409.         <textSize>12</textSize>
  21410.         <textStyle>plain</textStyle>
  21411.         <textHeight>16</textHeight>
  21412.         <name></name>
  21413.         <script>on mouseUp
  21414. hide me
  21415. end mouseUp</script>
  21416.     </part>
  21417.     <content>
  21418.         <layer>card</layer>
  21419.         <id>1</id>
  21420.         <text>
  21421.  
  21422.                                                NubusList 1.0
  21423.  
  21424.                                           by Fr├⌐d├⌐ric RINALDI
  21425.  
  21426.  
  21427. DESCRIPTION
  21428. ------------
  21429.   NubusList returns the lists of installes NuBus cards.
  21430.  
  21431.  
  21432. SYNTAX
  21433. -------
  21434.                                                  NubusList()
  21435.  
  21436.  
  21437. PARAMETERS
  21438. ------------
  21439.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  21440.  
  21441.  
  21442. USING
  21443. -----
  21444.    NuBusList returns a return delimited list of laa installed NuBus cards. "Empty" is returned for each empty slot.
  21445.  
  21446.  
  21447. ERRORS
  21448. -------
  21449. If an error occurs, NubusList can return :
  21450.      "Error : Couldn't access slot infos"
  21451.  
  21452.  
  21453. HISTORY
  21454. --------
  21455. 1.0                                                                                            08/12/91
  21456. </text>
  21457.     </content>
  21458.     <content>
  21459.         <layer>card</layer>
  21460.         <id>3</id>
  21461.         <text>Micron XCEED Color 30Γäó
  21462. Empty
  21463. Empty
  21464. Empty
  21465. Empty
  21466. Empty</text>
  21467.     </content>
  21468.     <name>NubusList 1.0</name>
  21469.     <script>
  21470.  
  21471.  
  21472.  
  21473. on opencard
  21474. end opencard
  21475.  
  21476. on closeCard
  21477. hide cd fld 2
  21478. end closeCard
  21479.  
  21480. </script>
  21481. </card>
  21482.  
  21483.  
  21484. card_36436.xml
  21485. <?xml version="1.0" encoding="utf-8" ?>
  21486. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  21487. <card>
  21488.     <id>36436</id>
  21489.     <filler1>0</filler1>
  21490.     <bitmap>BMAP_36737.pbm</bitmap>
  21491.     <cantDelete> <false /> </cantDelete>
  21492.     <showPict> <true /> </showPict>
  21493.     <dontSearch> <false /> </dontSearch>
  21494.     <owner>46925</owner>
  21495.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  21496.     <part>
  21497.         <id>1</id>
  21498.         <type>field</type>
  21499.         <visible> <true /> </visible>
  21500.         <dontWrap> <false /> </dontWrap>
  21501.         <dontSearch> <false /> </dontSearch>
  21502.         <sharedText> <false /> </sharedText>
  21503.         <fixedLineHeight> <true /> </fixedLineHeight>
  21504.         <autoTab> <false /> </autoTab>
  21505.         <lockText> <true /> </lockText>
  21506.         <rect>
  21507.             <left>69</left>
  21508.             <top>68</top>
  21509.             <right>434</right>
  21510.             <bottom>252</bottom>
  21511.         </rect>
  21512.         <style>scrolling</style>
  21513.         <autoSelect> <false /> </autoSelect>
  21514.         <showLines> <false /> </showLines>
  21515.         <wideMargins> <false /> </wideMargins>
  21516.         <multipleLines> <false /> </multipleLines>
  21517.         <reservedFamily> 0 </reservedFamily>
  21518.         <titleWidth>0</titleWidth>
  21519.         <icon>0</icon>
  21520.         <textAlign>left</textAlign>
  21521.         <font>Geneva</font>
  21522.         <textSize>9</textSize>
  21523.         <textStyle>plain</textStyle>
  21524.         <textHeight>12</textHeight>
  21525.         <name>Text</name>
  21526.         <script></script>
  21527.     </part>
  21528.     <part>
  21529.         <id>5</id>
  21530.         <type>button</type>
  21531.         <visible> <true /> </visible>
  21532.         <reserved5> 0 </reserved5>
  21533.         <reserved4> 0 </reserved4>
  21534.         <reserved3> 0 </reserved3>
  21535.         <reserved2> 0 </reserved2>
  21536.         <reserved1> 0 </reserved1>
  21537.         <enabled> <true /> </enabled>
  21538.         <rect>
  21539.             <left>174</left>
  21540.             <top>281</top>
  21541.             <right>343</right>
  21542.             <bottom>311</bottom>
  21543.         </rect>
  21544.         <style>roundrect</style>
  21545.         <showName> <true /> </showName>
  21546.         <highlight> <false /> </highlight>
  21547.         <autoHighlight> <true /> </autoHighlight>
  21548.         <sharedHighlight> <true /> </sharedHighlight>
  21549.         <family>0</family>
  21550.         <titleWidth>0</titleWidth>
  21551.         <icon>0</icon>
  21552.         <textAlign>center</textAlign>
  21553.         <font>Chicago</font>
  21554.         <textSize>12</textSize>
  21555.         <textStyle>plain</textStyle>
  21556.         <name>PPCList</name>
  21557.         <script>on mouseUp
  21558. if the version ΓëÑ 2.1
  21559. then
  21560. set itemDelimiter to colon
  21561. get the address
  21562. put item 1 of it into ZoneName
  21563. put item 2 of it into NodeName
  21564. set itemDelimiter to comma
  21565. end if
  21566.  
  21567. ask "Node name :" with NodeName
  21568. if it is empty then exit mouseUp
  21569. put it into NodeName
  21570.  
  21571. ask "Zone name :" with ZoneName
  21572. if it is empty then exit mouseUp
  21573. put it into ZoneName
  21574.  
  21575. answer PPCList(NodeName,ZoneName)
  21576. end mouseUp</script>
  21577.     </part>
  21578.     <content>
  21579.         <layer>card</layer>
  21580.         <id>1</id>
  21581.         <text><span class="style1">
  21582.                                               </span><span class="style3">PPCList 1.0</span><span class="style1">
  21583.  
  21584.                                          </span><span class="style2">by Fr├⌐d├⌐ric RINALDI</span><span class="style1">
  21585.  
  21586.  
  21587. </span><span class="style4">DESCRIPTION</span><span class="style1">
  21588.   PPCList returns a list of all System 7.0 PPC aware applications of a node.
  21589.  
  21590. </span><span class="style4">SYNTAX</span><span class="style1">
  21591.                         PPCList(<node name>[,<zone name|*>])
  21592.  
  21593. </span><span class="style4">PARAMETERS</span><span class="style1">
  21594.    <node name> is a string for the name of the node (defined in the Sharing Setup of all 7.0 Mac).
  21595.  
  21596.    <zone name|*> is optional, a string giving the zone name. Default is the zone of the caller ("*" parameter also).
  21597.  
  21598.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  21599.  
  21600. </span><span class="style4">USING
  21601. </span><span class="style1">   PPCList needs System 7.0 to work.
  21602.    The XFCN returns a return delimited list of all found applications. Each entry is like :
  21603.                              <appl name 1>,<appl creator 1>
  21604.  
  21605.    Since a given application can have any user-defined name, the provided creator offers a more accurate information.
  21606.  
  21607. </span><span class="style3">NOTE</span><span class="style1">
  21608.    Some other externals can be helpfull : ATalkZones XFCN gives the list of available zones, DeviceList XFCN the list of "PPCToolbox" type nodes.
  21609.  
  21610. </span><span class="style4">ERRORS</span><span class="style1">
  21611. If an error occurs, PPCList can return :
  21612.      "Error : Need System 7.0"
  21613.      "Error : Out of memory"
  21614.      "Error : Unknown node name"
  21615.      "Error : Unknown #xx"
  21616.      "Error : Missing or empty node name"
  21617. </span></text>
  21618.     </content>
  21619.     <name>PPCList 1.0</name>
  21620.     <script>
  21621.  
  21622.  
  21623.  
  21624. on opencard
  21625. end opencard
  21626.  
  21627. on closeCard
  21628. end closeCard
  21629.  
  21630. </script>
  21631. </card>
  21632.  
  21633.  
  21634. card_36973.xml
  21635. <?xml version="1.0" encoding="utf-8" ?>
  21636. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  21637. <card>
  21638.     <id>36973</id>
  21639.     <filler1>0</filler1>
  21640.     <bitmap>BMAP_53405.pbm</bitmap>
  21641.     <cantDelete> <false /> </cantDelete>
  21642.     <showPict> <true /> </showPict>
  21643.     <dontSearch> <false /> </dontSearch>
  21644.     <owner>46925</owner>
  21645.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  21646.     <part>
  21647.         <id>1</id>
  21648.         <type>field</type>
  21649.         <visible> <true /> </visible>
  21650.         <dontWrap> <false /> </dontWrap>
  21651.         <dontSearch> <false /> </dontSearch>
  21652.         <sharedText> <false /> </sharedText>
  21653.         <fixedLineHeight> <true /> </fixedLineHeight>
  21654.         <autoTab> <false /> </autoTab>
  21655.         <lockText> <true /> </lockText>
  21656.         <rect>
  21657.             <left>69</left>
  21658.             <top>68</top>
  21659.             <right>434</right>
  21660.             <bottom>252</bottom>
  21661.         </rect>
  21662.         <style>scrolling</style>
  21663.         <autoSelect> <false /> </autoSelect>
  21664.         <showLines> <false /> </showLines>
  21665.         <wideMargins> <false /> </wideMargins>
  21666.         <multipleLines> <false /> </multipleLines>
  21667.         <reservedFamily> 0 </reservedFamily>
  21668.         <titleWidth>0</titleWidth>
  21669.         <icon>0</icon>
  21670.         <textAlign>left</textAlign>
  21671.         <font>Geneva</font>
  21672.         <textSize>9</textSize>
  21673.         <textStyle>plain</textStyle>
  21674.         <textHeight>12</textHeight>
  21675.         <name></name>
  21676.         <script></script>
  21677.     </part>
  21678.     <part>
  21679.         <id>25</id>
  21680.         <type>button</type>
  21681.         <visible> <true /> </visible>
  21682.         <reserved5> 0 </reserved5>
  21683.         <reserved4> 0 </reserved4>
  21684.         <reserved3> 0 </reserved3>
  21685.         <reserved2> 0 </reserved2>
  21686.         <reserved1> 0 </reserved1>
  21687.         <enabled> <true /> </enabled>
  21688.         <rect>
  21689.             <left>201</left>
  21690.             <top>287</top>
  21691.             <right>343</right>
  21692.             <bottom>316</bottom>
  21693.         </rect>
  21694.         <style>roundrect</style>
  21695.         <showName> <true /> </showName>
  21696.         <highlight> <false /> </highlight>
  21697.         <autoHighlight> <true /> </autoHighlight>
  21698.         <sharedHighlight> <true /> </sharedHighlight>
  21699.         <family>0</family>
  21700.         <titleWidth>0</titleWidth>
  21701.         <icon>0</icon>
  21702.         <textAlign>center</textAlign>
  21703.         <font>Geneva</font>
  21704.         <textSize>12</textSize>
  21705.         <textStyle>plain</textStyle>
  21706.         <name>PrintPICT</name>
  21707.         <script>on mouseUp
  21708. if last word of the version ΓëÑ 2.0
  21709. then answer file "File to print :" of type PICT
  21710. else ask "Pathname of file to print :"
  21711.  
  21712. if it is empty then exit mouseUp
  21713.  
  21714. put it into FileName
  21715.  
  21716. answer "Page setup dialog :" with "False" or "True"
  21717. put it into PageSetupDL
  21718.  
  21719. answer "Printing dialog :" with "False" or "True"
  21720. put it into PrintDL
  21721.  
  21722. ask "Prompt text :"
  21723. put it into Legend
  21724.  
  21725. ask "Resource :" with "R="
  21726.  
  21727. if it is empty
  21728. then PrintPict FileName,PageSetupDL,PrintDL,Legend
  21729. else PrintPict FileName,PageSetupDL,PrintDL,Legend,it
  21730.  
  21731. if the Result Γëá empty
  21732. then answer the result
  21733. end mouseUp
  21734. </script>
  21735.     </part>
  21736.     <part>
  21737.         <id>26</id>
  21738.         <type>field</type>
  21739.         <visible> <false /> </visible>
  21740.         <dontWrap> <false /> </dontWrap>
  21741.         <dontSearch> <false /> </dontSearch>
  21742.         <sharedText> <false /> </sharedText>
  21743.         <fixedLineHeight> <true /> </fixedLineHeight>
  21744.         <autoTab> <false /> </autoTab>
  21745.         <lockText> <true /> </lockText>
  21746.         <rect>
  21747.             <left>98</left>
  21748.             <top>87</top>
  21749.             <right>408</right>
  21750.             <bottom>222</bottom>
  21751.         </rect>
  21752.         <style>shadow</style>
  21753.         <autoSelect> <false /> </autoSelect>
  21754.         <showLines> <false /> </showLines>
  21755.         <wideMargins> <true /> </wideMargins>
  21756.         <multipleLines> <false /> </multipleLines>
  21757.         <reservedFamily> 0 </reservedFamily>
  21758.         <titleWidth>0</titleWidth>
  21759.         <icon>0</icon>
  21760.         <textAlign>left</textAlign>
  21761.         <font>Geneva</font>
  21762.         <textSize>12</textSize>
  21763.         <textStyle>plain</textStyle>
  21764.         <textHeight>16</textHeight>
  21765.         <name></name>
  21766.         <script>on mouseUp
  21767. hide cd fld 3
  21768. hide cd fld 2
  21769. end mouseUp</script>
  21770.     </part>
  21771.     <part>
  21772.         <id>27</id>
  21773.         <type>field</type>
  21774.         <visible> <false /> </visible>
  21775.         <dontWrap> <false /> </dontWrap>
  21776.         <dontSearch> <false /> </dontSearch>
  21777.         <sharedText> <false /> </sharedText>
  21778.         <fixedLineHeight> <true /> </fixedLineHeight>
  21779.         <autoTab> <false /> </autoTab>
  21780.         <lockText> <true /> </lockText>
  21781.         <rect>
  21782.             <left>179</left>
  21783.             <top>107</top>
  21784.             <right>381</right>
  21785.             <bottom>207</bottom>
  21786.         </rect>
  21787.         <style>transparent</style>
  21788.         <autoSelect> <false /> </autoSelect>
  21789.         <showLines> <false /> </showLines>
  21790.         <wideMargins> <false /> </wideMargins>
  21791.         <multipleLines> <false /> </multipleLines>
  21792.         <reservedFamily> 0 </reservedFamily>
  21793.         <titleWidth>0</titleWidth>
  21794.         <icon>0</icon>
  21795.         <textAlign>left</textAlign>
  21796.         <font>Geneva</font>
  21797.         <textSize>10</textSize>
  21798.         <textStyle>plain</textStyle>
  21799.         <textHeight>16</textHeight>
  21800.         <name></name>
  21801.         <script>on mouseUp
  21802. hide cd fld 3
  21803. hide cd fld 2
  21804. end mouseUp</script>
  21805.     </part>
  21806.     <part>
  21807.         <id>28</id>
  21808.         <type>field</type>
  21809.         <visible> <false /> </visible>
  21810.         <dontWrap> <false /> </dontWrap>
  21811.         <dontSearch> <false /> </dontSearch>
  21812.         <sharedText> <false /> </sharedText>
  21813.         <fixedLineHeight> <true /> </fixedLineHeight>
  21814.         <autoTab> <false /> </autoTab>
  21815.         <lockText> <true /> </lockText>
  21816.         <rect>
  21817.             <left>166</left>
  21818.             <top>121</top>
  21819.             <right>338</right>
  21820.             <bottom>202</bottom>
  21821.         </rect>
  21822.         <style>shadow</style>
  21823.         <autoSelect> <false /> </autoSelect>
  21824.         <showLines> <true /> </showLines>
  21825.         <wideMargins> <true /> </wideMargins>
  21826.         <multipleLines> <false /> </multipleLines>
  21827.         <reservedFamily> 0 </reservedFamily>
  21828.         <titleWidth>0</titleWidth>
  21829.         <icon>0</icon>
  21830.         <textAlign>left</textAlign>
  21831.         <font>Geneva</font>
  21832.         <textSize>10</textSize>
  21833.         <textStyle>bold</textStyle>
  21834.         <textHeight>13</textHeight>
  21835.         <name></name>
  21836.         <script>on mouseUp
  21837. hide cd fld 4
  21838. hide cd fld 5
  21839. end mouseUp</script>
  21840.     </part>
  21841.     <part>
  21842.         <id>29</id>
  21843.         <type>field</type>
  21844.         <visible> <false /> </visible>
  21845.         <dontWrap> <false /> </dontWrap>
  21846.         <dontSearch> <false /> </dontSearch>
  21847.         <sharedText> <false /> </sharedText>
  21848.         <fixedLineHeight> <true /> </fixedLineHeight>
  21849.         <autoTab> <false /> </autoTab>
  21850.         <lockText> <true /> </lockText>
  21851.         <rect>
  21852.             <left>236</left>
  21853.             <top>151</top>
  21854.             <right>331</right>
  21855.             <bottom>194</bottom>
  21856.         </rect>
  21857.         <style>transparent</style>
  21858.         <autoSelect> <false /> </autoSelect>
  21859.         <showLines> <false /> </showLines>
  21860.         <wideMargins> <false /> </wideMargins>
  21861.         <multipleLines> <false /> </multipleLines>
  21862.         <reservedFamily> 0 </reservedFamily>
  21863.         <titleWidth>0</titleWidth>
  21864.         <icon>0</icon>
  21865.         <textAlign>left</textAlign>
  21866.         <font>Geneva</font>
  21867.         <textSize>10</textSize>
  21868.         <textStyle>plain</textStyle>
  21869.         <textHeight>13</textHeight>
  21870.         <name></name>
  21871.         <script>on mouseUp
  21872. hide cd fld 4
  21873. hide cd fld 5
  21874. end mouseUp</script>
  21875.     </part>
  21876.     <content>
  21877.         <layer>card</layer>
  21878.         <id>1</id>
  21879.         <text>
  21880.  
  21881.                                                PrintPICT 1.3
  21882.  
  21883.                                           by Fr├⌐d├⌐ric RINALDI
  21884.  
  21885.  
  21886. DESCRIPTION
  21887. ------------
  21888.    PrintPICT prints a PICT file, resource or the clipboard content with a prompt if desired.
  21889.  
  21890.  
  21891. SYNTAX
  21892. -------
  21893.           PrintPICT <filename|"clipboard"|"*">[,<R=res name or ID>]
  21894.                          [,<page setup dialog>][,<print dialog>][<prompt>]
  21895.  
  21896.  
  21897. PARAMETERS
  21898. ------------
  21899.    <filename|"clipboard"|"*"> telles where the picture is coming from.
  21900.    Being a filename, it can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  21901.    "clipboard" will print the clipboard content.
  21902.    "*" stands for the current stack, when PICT resource printing is required.
  21903.  
  21904.    <R=res name or ID> defines the PICT resource to print. It can be its name or ID. This param is ignored when first is "clipboard".
  21905.  
  21906.    <page setup dialog> is a boolean allowing to have to page setup dialog to pop up. Default is FALSE.
  21907.  
  21908.    <print dialog>  is a boolean allowing to have to printing dialog to pop up. Default is FALSE.
  21909.  
  21910.    <prompt> is a prompt string which will be printed at the bottom of page using Helvetica 12.
  21911.  
  21912.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  21913.  
  21914.  
  21915. USING
  21916. -----
  21917.    Without dialog, the XCMD uses the previous settings for printing.
  21918.    Printing is centered in page.
  21919.  
  21920.  
  21921. ERRORS
  21922. -------
  21923. If an error occurs, PrintPICT can return :
  21924.      "Error : Printing Error"
  21925.      "Error : Found no PICT in clipBoard"
  21926.      "Error : Resource not found"
  21927.      "Error : Not a PICT file"
  21928.      "Error : Out of memory"
  21929.      "Error : Couldn't read PICT file"
  21930.      "Error : Missing or empty parameter"
  21931.      "Error : Couln't load Scrap"
  21932.      "Error : Missing resource identifier"
  21933.      "Error : Out of memory"
  21934.      "Error : Printing aborted"
  21935.      "Error : Not a file"
  21936.      "Error : Alias file not supported"
  21937.      "Error : Volume not found"
  21938.      "Error : Bad Name"
  21939.      "Error : File not found"
  21940.      "Error : Folder not found"
  21941.      "Error : File is busy"
  21942.      "Error : I/O Error"
  21943.  
  21944.  
  21945. HISTORY
  21946. --------
  21947. 1.3 :                                                                                          03/24/92
  21948. ΓÇó Pict resizing now keeps proportions
  21949.  
  21950. 1.2 :                                                                                          03/09/92
  21951. ΓÇó Pict resized to fit in the printed page
  21952.  
  21953. 1.1 :                                                                                          12/26/91
  21954. ΓÇó Fixed alias file bug under System 7.0.1
  21955. ΓÇó Printing is centered in page
  21956. ΓÇó Added prompt text printing
  21957. ΓÇó Added PICt resource and clipboard printing
  21958.  
  21959. 1.0                                                                                            10/28/91
  21960. ΓÇó First release
  21961. </text>
  21962.     </content>
  21963.     <content>
  21964.         <layer>card</layer>
  21965.         <id>26</id>
  21966.         <text>
  21967. CPU
  21968. System
  21969. Processor
  21970. FPU
  21971. ColoQD
  21972. Keyboard</text>
  21973.     </content>
  21974.     <content>
  21975.         <layer>card</layer>
  21976.         <id>27</id>
  21977.         <text>Macintosh IIx
  21978. 6.4
  21979. MC68030
  21980. true
  21981. true
  21982. Apple Extended keyboard</text>
  21983.     </content>
  21984.     <content>
  21985.         <layer>card</layer>
  21986.         <id>28</id>
  21987.         <text>             Owner Group  All
  21988.  
  21989. See Folder
  21990. See Files
  21991. Modify
  21992. </text>
  21993.     </content>
  21994.     <content>
  21995.         <layer>card</layer>
  21996.         <id>29</id>
  21997.         <text>Error : Not an AppleShare Volume</text>
  21998.     </content>
  21999.     <name></name>
  22000.     <script></script>
  22001. </card>
  22002.  
  22003.  
  22004. card_37598.xml
  22005. <?xml version="1.0" encoding="utf-8" ?>
  22006. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  22007. <card>
  22008.     <id>37598</id>
  22009.     <filler1>0</filler1>
  22010.     <bitmap>BMAP_37859.pbm</bitmap>
  22011.     <cantDelete> <false /> </cantDelete>
  22012.     <showPict> <true /> </showPict>
  22013.     <dontSearch> <false /> </dontSearch>
  22014.     <owner>46925</owner>
  22015.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  22016.     <part>
  22017.         <id>1</id>
  22018.         <type>field</type>
  22019.         <visible> <true /> </visible>
  22020.         <dontWrap> <false /> </dontWrap>
  22021.         <dontSearch> <false /> </dontSearch>
  22022.         <sharedText> <false /> </sharedText>
  22023.         <fixedLineHeight> <true /> </fixedLineHeight>
  22024.         <autoTab> <false /> </autoTab>
  22025.         <lockText> <true /> </lockText>
  22026.         <rect>
  22027.             <left>69</left>
  22028.             <top>68</top>
  22029.             <right>434</right>
  22030.             <bottom>252</bottom>
  22031.         </rect>
  22032.         <style>scrolling</style>
  22033.         <autoSelect> <false /> </autoSelect>
  22034.         <showLines> <false /> </showLines>
  22035.         <wideMargins> <false /> </wideMargins>
  22036.         <multipleLines> <false /> </multipleLines>
  22037.         <reservedFamily> 0 </reservedFamily>
  22038.         <titleWidth>0</titleWidth>
  22039.         <icon>0</icon>
  22040.         <textAlign>left</textAlign>
  22041.         <font>Geneva</font>
  22042.         <textSize>9</textSize>
  22043.         <textStyle>plain</textStyle>
  22044.         <textHeight>12</textHeight>
  22045.         <name></name>
  22046.         <script></script>
  22047.     </part>
  22048.     <part>
  22049.         <id>25</id>
  22050.         <type>button</type>
  22051.         <visible> <true /> </visible>
  22052.         <reserved5> 0 </reserved5>
  22053.         <reserved4> 0 </reserved4>
  22054.         <reserved3> 0 </reserved3>
  22055.         <reserved2> 0 </reserved2>
  22056.         <reserved1> 0 </reserved1>
  22057.         <enabled> <true /> </enabled>
  22058.         <rect>
  22059.             <left>201</left>
  22060.             <top>278</top>
  22061.             <right>346</right>
  22062.             <bottom>316</bottom>
  22063.         </rect>
  22064.         <style>roundrect</style>
  22065.         <showName> <true /> </showName>
  22066.         <highlight> <false /> </highlight>
  22067.         <autoHighlight> <true /> </autoHighlight>
  22068.         <sharedHighlight> <true /> </sharedHighlight>
  22069.         <family>0</family>
  22070.         <titleWidth>0</titleWidth>
  22071.         <icon>0</icon>
  22072.         <textAlign>center</textAlign>
  22073.         <font>Geneva</font>
  22074.         <textSize>12</textSize>
  22075.         <textStyle>plain</textStyle>
  22076.         <name>Privileges</name>
  22077.         <script>on mouseUp
  22078. get FolderName("Select folder :")
  22079. if it Γëá empty
  22080. then
  22081. put Privileges(it) into cd fld 5
  22082. show cd fld 4
  22083. show cd fld 5
  22084. end if
  22085. end mouseUp
  22086. </script>
  22087.     </part>
  22088.     <part>
  22089.         <id>26</id>
  22090.         <type>field</type>
  22091.         <visible> <false /> </visible>
  22092.         <dontWrap> <false /> </dontWrap>
  22093.         <dontSearch> <false /> </dontSearch>
  22094.         <sharedText> <false /> </sharedText>
  22095.         <fixedLineHeight> <true /> </fixedLineHeight>
  22096.         <autoTab> <false /> </autoTab>
  22097.         <lockText> <true /> </lockText>
  22098.         <rect>
  22099.             <left>98</left>
  22100.             <top>87</top>
  22101.             <right>408</right>
  22102.             <bottom>222</bottom>
  22103.         </rect>
  22104.         <style>shadow</style>
  22105.         <autoSelect> <false /> </autoSelect>
  22106.         <showLines> <false /> </showLines>
  22107.         <wideMargins> <true /> </wideMargins>
  22108.         <multipleLines> <false /> </multipleLines>
  22109.         <reservedFamily> 0 </reservedFamily>
  22110.         <titleWidth>0</titleWidth>
  22111.         <icon>0</icon>
  22112.         <textAlign>left</textAlign>
  22113.         <font>Geneva</font>
  22114.         <textSize>12</textSize>
  22115.         <textStyle>plain</textStyle>
  22116.         <textHeight>16</textHeight>
  22117.         <name></name>
  22118.         <script>on mouseUp
  22119. hide cd fld 3
  22120. hide cd fld 2
  22121. end mouseUp</script>
  22122.     </part>
  22123.     <part>
  22124.         <id>27</id>
  22125.         <type>field</type>
  22126.         <visible> <false /> </visible>
  22127.         <dontWrap> <false /> </dontWrap>
  22128.         <dontSearch> <false /> </dontSearch>
  22129.         <sharedText> <false /> </sharedText>
  22130.         <fixedLineHeight> <true /> </fixedLineHeight>
  22131.         <autoTab> <false /> </autoTab>
  22132.         <lockText> <true /> </lockText>
  22133.         <rect>
  22134.             <left>179</left>
  22135.             <top>107</top>
  22136.             <right>381</right>
  22137.             <bottom>207</bottom>
  22138.         </rect>
  22139.         <style>transparent</style>
  22140.         <autoSelect> <false /> </autoSelect>
  22141.         <showLines> <false /> </showLines>
  22142.         <wideMargins> <false /> </wideMargins>
  22143.         <multipleLines> <false /> </multipleLines>
  22144.         <reservedFamily> 0 </reservedFamily>
  22145.         <titleWidth>0</titleWidth>
  22146.         <icon>0</icon>
  22147.         <textAlign>left</textAlign>
  22148.         <font>Geneva</font>
  22149.         <textSize>10</textSize>
  22150.         <textStyle>plain</textStyle>
  22151.         <textHeight>16</textHeight>
  22152.         <name></name>
  22153.         <script>on mouseUp
  22154. hide cd fld 3
  22155. hide cd fld 2
  22156. end mouseUp</script>
  22157.     </part>
  22158.     <part>
  22159.         <id>28</id>
  22160.         <type>field</type>
  22161.         <visible> <false /> </visible>
  22162.         <dontWrap> <false /> </dontWrap>
  22163.         <dontSearch> <false /> </dontSearch>
  22164.         <sharedText> <false /> </sharedText>
  22165.         <fixedLineHeight> <true /> </fixedLineHeight>
  22166.         <autoTab> <false /> </autoTab>
  22167.         <lockText> <true /> </lockText>
  22168.         <rect>
  22169.             <left>166</left>
  22170.             <top>121</top>
  22171.             <right>338</right>
  22172.             <bottom>202</bottom>
  22173.         </rect>
  22174.         <style>shadow</style>
  22175.         <autoSelect> <false /> </autoSelect>
  22176.         <showLines> <true /> </showLines>
  22177.         <wideMargins> <true /> </wideMargins>
  22178.         <multipleLines> <false /> </multipleLines>
  22179.         <reservedFamily> 0 </reservedFamily>
  22180.         <titleWidth>0</titleWidth>
  22181.         <icon>0</icon>
  22182.         <textAlign>left</textAlign>
  22183.         <font>Geneva</font>
  22184.         <textSize>10</textSize>
  22185.         <textStyle>bold</textStyle>
  22186.         <textHeight>13</textHeight>
  22187.         <name></name>
  22188.         <script>on mouseUp
  22189. hide cd fld 4
  22190. hide cd fld 5
  22191. end mouseUp</script>
  22192.     </part>
  22193.     <part>
  22194.         <id>29</id>
  22195.         <type>field</type>
  22196.         <visible> <false /> </visible>
  22197.         <dontWrap> <false /> </dontWrap>
  22198.         <dontSearch> <false /> </dontSearch>
  22199.         <sharedText> <false /> </sharedText>
  22200.         <fixedLineHeight> <true /> </fixedLineHeight>
  22201.         <autoTab> <false /> </autoTab>
  22202.         <lockText> <true /> </lockText>
  22203.         <rect>
  22204.             <left>236</left>
  22205.             <top>151</top>
  22206.             <right>331</right>
  22207.             <bottom>194</bottom>
  22208.         </rect>
  22209.         <style>transparent</style>
  22210.         <autoSelect> <false /> </autoSelect>
  22211.         <showLines> <false /> </showLines>
  22212.         <wideMargins> <false /> </wideMargins>
  22213.         <multipleLines> <false /> </multipleLines>
  22214.         <reservedFamily> 0 </reservedFamily>
  22215.         <titleWidth>0</titleWidth>
  22216.         <icon>0</icon>
  22217.         <textAlign>left</textAlign>
  22218.         <font>Geneva</font>
  22219.         <textSize>10</textSize>
  22220.         <textStyle>plain</textStyle>
  22221.         <textHeight>13</textHeight>
  22222.         <name></name>
  22223.         <script>on mouseUp
  22224. hide cd fld 4
  22225. hide cd fld 5
  22226. end mouseUp</script>
  22227.     </part>
  22228.     <content>
  22229.         <layer>card</layer>
  22230.         <id>1</id>
  22231.         <text>
  22232.                                              Privileges 1.2
  22233.  
  22234.                                          by Fr├⌐d├⌐ric RINALDI
  22235.  
  22236.  
  22237.  
  22238.  
  22239. DESCRIPTION
  22240. ------------
  22241.   Privileges returns the access privileges of a folder on an AppleShare volume.
  22242.  
  22243.  
  22244. SYNTAX
  22245. --------
  22246.                                       Privileges(<folder path>)
  22247.  
  22248.  
  22249. PARAMETERS
  22250. ------------
  22251.  
  22252.    <folder path> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  22253.  
  22254.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  22255.  
  22256.  
  22257. USING
  22258. -----
  22259.    The string returned is an array of 3 lines of 3 boolean items. The arrangement of this array is exactly the same as the "Get Privileges" dialog of the Finder. True means authorized access.
  22260.  
  22261.                                           Owner   Group     All
  22262.                                          -------+------+------
  22263.                        See Folder       X          X          X
  22264.                        See Files         X          X          X
  22265.                        Modify            X          X          X
  22266.  
  22267.    If an error occurs, the XFCN will return :
  22268.  
  22269.      "Error : Not a file"
  22270.      "Error : Not a folder"
  22271.      "Error : Alias file not supported"
  22272.      "Error : Volume not found"
  22273.      "Error : Bad Name"
  22274.      "Error : File not found"
  22275.      "Error : Folder not found"
  22276.      "Error : File is busy"
  22277.      "Error : I/O Error"
  22278.      "Error : Folder is full"
  22279.      "Error : Volume is locked"
  22280.      "Error : No resource fork"
  22281.      "Error : Duplicate file/folder name"
  22282.      "Error : Moving whole volume not allowed"
  22283.      "Error : Not an AppleShare volume"
  22284.      "Error : AppleShare insufficient privileges"
  22285.      "Error : Missing or empty parameter"
  22286.  
  22287.  
  22288. HISTORY
  22289. --------
  22290. 1.2 :
  22291. ΓÇó Added support for System 7.0 alias files
  22292. ΓÇó General enhancement of the code
  22293. ΓÇó Added "=" param for online help
  22294.  
  22295.  
  22296. This stack uses FolderName XFCN (┬⌐ Eric CARLSON and Anup MURARKA) 
  22297. </text>
  22298.     </content>
  22299.     <content>
  22300.         <layer>card</layer>
  22301.         <id>26</id>
  22302.         <text>
  22303. CPU
  22304. System
  22305. Processor
  22306. FPU
  22307. ColoQD
  22308. Keyboard</text>
  22309.     </content>
  22310.     <content>
  22311.         <layer>card</layer>
  22312.         <id>27</id>
  22313.         <text>Macintosh IIx
  22314. 6.4
  22315. MC68030
  22316. true
  22317. true
  22318. Apple Extended keyboard</text>
  22319.     </content>
  22320.     <content>
  22321.         <layer>card</layer>
  22322.         <id>28</id>
  22323.         <text>             Owner Group  All
  22324.  
  22325. See Folder
  22326. See Files
  22327. Modify
  22328. </text>
  22329.     </content>
  22330.     <content>
  22331.         <layer>card</layer>
  22332.         <id>29</id>
  22333.         <text>true,false,true
  22334. true,false,true
  22335. true,false,false</text>
  22336.     </content>
  22337.     <name>Privileges 1.2</name>
  22338.     <script>
  22339.  
  22340.  
  22341.  
  22342. on opencard
  22343. end opencard
  22344.  
  22345. on closeCard
  22346. hide cd fld 4
  22347. hide cd fld 5
  22348. end closeCard
  22349.  
  22350. </script>
  22351. </card>
  22352.  
  22353.  
  22354. card_38114.xml
  22355. <?xml version="1.0" encoding="utf-8" ?>
  22356. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  22357. <card>
  22358.     <id>38114</id>
  22359.     <filler1>0</filler1>
  22360.     <bitmap>BMAP_38360.pbm</bitmap>
  22361.     <cantDelete> <false /> </cantDelete>
  22362.     <showPict> <true /> </showPict>
  22363.     <dontSearch> <false /> </dontSearch>
  22364.     <owner>46925</owner>
  22365.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  22366.     <part>
  22367.         <id>1</id>
  22368.         <type>field</type>
  22369.         <visible> <true /> </visible>
  22370.         <dontWrap> <false /> </dontWrap>
  22371.         <dontSearch> <false /> </dontSearch>
  22372.         <sharedText> <false /> </sharedText>
  22373.         <fixedLineHeight> <true /> </fixedLineHeight>
  22374.         <autoTab> <false /> </autoTab>
  22375.         <lockText> <true /> </lockText>
  22376.         <rect>
  22377.             <left>69</left>
  22378.             <top>68</top>
  22379.             <right>434</right>
  22380.             <bottom>252</bottom>
  22381.         </rect>
  22382.         <style>scrolling</style>
  22383.         <autoSelect> <false /> </autoSelect>
  22384.         <showLines> <false /> </showLines>
  22385.         <wideMargins> <false /> </wideMargins>
  22386.         <multipleLines> <false /> </multipleLines>
  22387.         <reservedFamily> 0 </reservedFamily>
  22388.         <titleWidth>0</titleWidth>
  22389.         <icon>0</icon>
  22390.         <textAlign>left</textAlign>
  22391.         <font>Geneva</font>
  22392.         <textSize>9</textSize>
  22393.         <textStyle>plain</textStyle>
  22394.         <textHeight>12</textHeight>
  22395.         <name></name>
  22396.         <script></script>
  22397.     </part>
  22398.     <part>
  22399.         <id>3</id>
  22400.         <type>field</type>
  22401.         <visible> <true /> </visible>
  22402.         <dontWrap> <false /> </dontWrap>
  22403.         <dontSearch> <false /> </dontSearch>
  22404.         <sharedText> <false /> </sharedText>
  22405.         <fixedLineHeight> <true /> </fixedLineHeight>
  22406.         <autoTab> <true /> </autoTab>
  22407.         <lockText> <false /> </lockText>
  22408.         <rect>
  22409.             <left>69</left>
  22410.             <top>278</top>
  22411.             <right>360</right>
  22412.             <bottom>296</bottom>
  22413.         </rect>
  22414.         <style>transparent</style>
  22415.         <autoSelect> <false /> </autoSelect>
  22416.         <showLines> <true /> </showLines>
  22417.         <wideMargins> <false /> </wideMargins>
  22418.         <multipleLines> <false /> </multipleLines>
  22419.         <reservedFamily> 0 </reservedFamily>
  22420.         <titleWidth>0</titleWidth>
  22421.         <icon>0</icon>
  22422.         <textAlign>left</textAlign>
  22423.         <font>Geneva</font>
  22424.         <textSize>12</textSize>
  22425.         <textStyle>plain</textStyle>
  22426.         <textHeight>16</textHeight>
  22427.         <name>Message</name>
  22428.         <script></script>
  22429.     </part>
  22430.     <part>
  22431.         <id>4</id>
  22432.         <type>field</type>
  22433.         <visible> <true /> </visible>
  22434.         <dontWrap> <false /> </dontWrap>
  22435.         <dontSearch> <false /> </dontSearch>
  22436.         <sharedText> <false /> </sharedText>
  22437.         <fixedLineHeight> <true /> </fixedLineHeight>
  22438.         <autoTab> <true /> </autoTab>
  22439.         <lockText> <false /> </lockText>
  22440.         <rect>
  22441.             <left>448</left>
  22442.             <top>262</top>
  22443.             <right>484</right>
  22444.             <bottom>280</bottom>
  22445.         </rect>
  22446.         <style>transparent</style>
  22447.         <autoSelect> <false /> </autoSelect>
  22448.         <showLines> <true /> </showLines>
  22449.         <wideMargins> <false /> </wideMargins>
  22450.         <multipleLines> <false /> </multipleLines>
  22451.         <reservedFamily> 0 </reservedFamily>
  22452.         <titleWidth>0</titleWidth>
  22453.         <icon>0</icon>
  22454.         <textAlign>left</textAlign>
  22455.         <font>Geneva</font>
  22456.         <textSize>12</textSize>
  22457.         <textStyle>plain</textStyle>
  22458.         <textHeight>16</textHeight>
  22459.         <name>Position</name>
  22460.         <script></script>
  22461.     </part>
  22462.     <part>
  22463.         <id>5</id>
  22464.         <type>button</type>
  22465.         <visible> <true /> </visible>
  22466.         <reserved5> 0 </reserved5>
  22467.         <reserved4> 0 </reserved4>
  22468.         <reserved3> 0 </reserved3>
  22469.         <reserved2> 0 </reserved2>
  22470.         <reserved1> 0 </reserved1>
  22471.         <enabled> <true /> </enabled>
  22472.         <rect>
  22473.             <left>184</left>
  22474.             <top>304</top>
  22475.             <right>353</right>
  22476.             <bottom>334</bottom>
  22477.         </rect>
  22478.         <style>roundrect</style>
  22479.         <showName> <true /> </showName>
  22480.         <highlight> <false /> </highlight>
  22481.         <autoHighlight> <true /> </autoHighlight>
  22482.         <sharedHighlight> <true /> </sharedHighlight>
  22483.         <family>0</family>
  22484.         <titleWidth>0</titleWidth>
  22485.         <icon>0</icon>
  22486.         <textAlign>center</textAlign>
  22487.         <font>Geneva</font>
  22488.         <textSize>12</textSize>
  22489.         <textStyle>plain</textStyle>
  22490.         <name>Prompt</name>
  22491.         <script>on mouseUp
  22492. set cursor to 4
  22493. if cd fld "Position" is empty
  22494. then Prompt 1,cd fld "Message"
  22495. else if cd fld "Width" is empty
  22496. then Prompt 1,cd fld "Message",cd fld "Position"
  22497. else Prompt 1,cd fld "Message",cd fld "Position",cd fld "Width"
  22498. wait 1 second
  22499. repeat with i=1 to 10
  22500. Prompt 2,"Test" && i
  22501. wait 10 ticks
  22502. end repeat
  22503. Prompt 1,"This is another message"
  22504. wait 1 second
  22505. Prompt 3
  22506. end mouseUp
  22507. </script>
  22508.     </part>
  22509.     <part>
  22510.         <id>8</id>
  22511.         <type>field</type>
  22512.         <visible> <true /> </visible>
  22513.         <dontWrap> <false /> </dontWrap>
  22514.         <dontSearch> <false /> </dontSearch>
  22515.         <sharedText> <false /> </sharedText>
  22516.         <fixedLineHeight> <true /> </fixedLineHeight>
  22517.         <autoTab> <true /> </autoTab>
  22518.         <lockText> <false /> </lockText>
  22519.         <rect>
  22520.             <left>448</left>
  22521.             <top>278</top>
  22522.             <right>484</right>
  22523.             <bottom>296</bottom>
  22524.         </rect>
  22525.         <style>transparent</style>
  22526.         <autoSelect> <false /> </autoSelect>
  22527.         <showLines> <true /> </showLines>
  22528.         <wideMargins> <false /> </wideMargins>
  22529.         <multipleLines> <false /> </multipleLines>
  22530.         <reservedFamily> 0 </reservedFamily>
  22531.         <titleWidth>0</titleWidth>
  22532.         <icon>0</icon>
  22533.         <textAlign>left</textAlign>
  22534.         <font>Geneva</font>
  22535.         <textSize>12</textSize>
  22536.         <textStyle>plain</textStyle>
  22537.         <textHeight>16</textHeight>
  22538.         <name>Width</name>
  22539.         <script></script>
  22540.     </part>
  22541.     <content>
  22542.         <layer>card</layer>
  22543.         <id>1</id>
  22544.         <text>
  22545.                                                   Prompt 2.5
  22546.                                                   ----------
  22547.  
  22548.                                            ┬⌐ Fr├⌐d├⌐ric RINALDI
  22549.  
  22550. DESCRIPTION
  22551.  
  22552.   Prompt is a XCMD displaying an information dialog during the execution of a script. The dialog's width is set accordingly to the string width.
  22553.  
  22554.    WARNING : Prompt doen't work properly with HC 2.0. Rather use 
  22555.                     Promptoid XCMD.
  22556.  
  22557.  
  22558.  
  22559. SYNTAX
  22560.  
  22561. Prompt 1 [, <message> [, <vertical position> [, <width> ] ] ]
  22562.   Brings the dialog to screen, displaying the message. If message is omitted or empty, the dialog's width will be set by default to 300 points. If no vertical position is passed, the dialog will be centered vertically on the card. Dialog is resized when Prompt 1 is called twice.
  22563.  
  22564. Prompt 2 , <message>
  22565.   Sets a new message in the current dialog.
  22566.  
  22567. Prompt 3
  22568.   Disposes the current dialog and clears it from the screen.
  22569.  
  22570.  
  22571. USING
  22572.  
  22573.    If no error occured, the Result will be empty. Otherwise, it can contain :
  22574.     "Error : Bad Mode Parameter"
  22575.     "Error : Bad coordinate"
  22576.     "Error : Bad Width"
  22577.     "Error : Missing Parameter(s)"
  22578.     "Error : Prompt doen't work properly with HC 2.0"
  22579.  
  22580.  
  22581. HISTORY
  22582. -------
  22583. 2.5
  22584. ΓÇó Completely rewritten code
  22585. ΓÇó Better SuperCard compatibility
  22586. ΓÇó Added HC 2.0 warning
  22587.  
  22588. 2.4
  22589. ΓÇó Added automatice resizing when Prompt 1 is called twice.
  22590. </text>
  22591.     </content>
  22592.     <content>
  22593.         <layer>card</layer>
  22594.         <id>3</id>
  22595.         <text>This a message test</text>
  22596.     </content>
  22597.     <name>Prompt 2.5</name>
  22598.     <script>
  22599.  
  22600.  
  22601.  
  22602. on opencard
  22603. end opencard
  22604.  
  22605. on closeCard
  22606. end closeCard
  22607.  
  22608. </script>
  22609. </card>
  22610.  
  22611.  
  22612. card_38572.xml
  22613. <?xml version="1.0" encoding="utf-8" ?>
  22614. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  22615. <card>
  22616.     <id>38572</id>
  22617.     <filler1>0</filler1>
  22618.     <bitmap>BMAP_38878.pbm</bitmap>
  22619.     <cantDelete> <false /> </cantDelete>
  22620.     <showPict> <true /> </showPict>
  22621.     <dontSearch> <false /> </dontSearch>
  22622.     <owner>46925</owner>
  22623.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  22624.     <part>
  22625.         <id>1</id>
  22626.         <type>field</type>
  22627.         <visible> <true /> </visible>
  22628.         <dontWrap> <false /> </dontWrap>
  22629.         <dontSearch> <false /> </dontSearch>
  22630.         <sharedText> <false /> </sharedText>
  22631.         <fixedLineHeight> <true /> </fixedLineHeight>
  22632.         <autoTab> <false /> </autoTab>
  22633.         <lockText> <true /> </lockText>
  22634.         <rect>
  22635.             <left>69</left>
  22636.             <top>68</top>
  22637.             <right>434</right>
  22638.             <bottom>252</bottom>
  22639.         </rect>
  22640.         <style>scrolling</style>
  22641.         <autoSelect> <false /> </autoSelect>
  22642.         <showLines> <false /> </showLines>
  22643.         <wideMargins> <false /> </wideMargins>
  22644.         <multipleLines> <false /> </multipleLines>
  22645.         <reservedFamily> 0 </reservedFamily>
  22646.         <titleWidth>0</titleWidth>
  22647.         <icon>0</icon>
  22648.         <textAlign>left</textAlign>
  22649.         <font>Geneva</font>
  22650.         <textSize>9</textSize>
  22651.         <textStyle>plain</textStyle>
  22652.         <textHeight>12</textHeight>
  22653.         <name>Text</name>
  22654.         <script></script>
  22655.     </part>
  22656.     <part>
  22657.         <id>5</id>
  22658.         <type>button</type>
  22659.         <visible> <true /> </visible>
  22660.         <reserved5> 0 </reserved5>
  22661.         <reserved4> 0 </reserved4>
  22662.         <reserved3> 0 </reserved3>
  22663.         <reserved2> 0 </reserved2>
  22664.         <reserved1> 0 </reserved1>
  22665.         <enabled> <true /> </enabled>
  22666.         <rect>
  22667.             <left>300</left>
  22668.             <top>302</top>
  22669.             <right>469</right>
  22670.             <bottom>332</bottom>
  22671.         </rect>
  22672.         <style>roundrect</style>
  22673.         <showName> <true /> </showName>
  22674.         <highlight> <false /> </highlight>
  22675.         <autoHighlight> <true /> </autoHighlight>
  22676.         <sharedHighlight> <true /> </sharedHighlight>
  22677.         <family>0</family>
  22678.         <titleWidth>0</titleWidth>
  22679.         <icon>0</icon>
  22680.         <textAlign>center</textAlign>
  22681.         <font>Chicago</font>
  22682.         <textSize>12</textSize>
  22683.         <textStyle>plain</textStyle>
  22684.         <name>Compatibility Script</name>
  22685.         <script>on mouseUp
  22686. edit script of this bg
  22687. end mouseUp</script>
  22688.     </part>
  22689.     <part>
  22690.         <id>16</id>
  22691.         <type>button</type>
  22692.         <visible> <true /> </visible>
  22693.         <reserved5> 0 </reserved5>
  22694.         <reserved4> 0 </reserved4>
  22695.         <reserved3> 0 </reserved3>
  22696.         <reserved2> 0 </reserved2>
  22697.         <reserved1> 0 </reserved1>
  22698.         <enabled> <true /> </enabled>
  22699.         <rect>
  22700.             <left>101</left>
  22701.             <top>302</top>
  22702.             <right>270</right>
  22703.             <bottom>332</bottom>
  22704.         </rect>
  22705.         <style>roundrect</style>
  22706.         <showName> <true /> </showName>
  22707.         <highlight> <false /> </highlight>
  22708.         <autoHighlight> <true /> </autoHighlight>
  22709.         <sharedHighlight> <true /> </sharedHighlight>
  22710.         <family>0</family>
  22711.         <titleWidth>0</titleWidth>
  22712.         <icon>0</icon>
  22713.         <textAlign>center</textAlign>
  22714.         <font>Chicago</font>
  22715.         <textSize>12</textSize>
  22716.         <textStyle>plain</textStyle>
  22717.         <name>Promptoid</name>
  22718.         <script>on mouseUp
  22719. set cursor to 4
  22720. if cd fld "Position" is empty
  22721. then Promptoid cd fld "Message",cd fld "ICON"
  22722. else if cd fld "Width" is empty
  22723. then Promptoid cd fld "Message",cd fld "ICON",cd fld "Position"
  22724. else Promptoid cd fld "Message",cd fld "ICON",cd fld "Position",cd fld "Width"
  22725. wait 1 second
  22726. repeat with i=1 to 10
  22727. set text of window "Promptoid" to "Test" && i
  22728. wait 10 ticks
  22729. end repeat
  22730. set text of window "Promptoid" to "Other message"
  22731. wait 1 second
  22732. close window "Promptoid"
  22733. end mouseUp
  22734. </script>
  22735.     </part>
  22736.     <part>
  22737.         <id>17</id>
  22738.         <type>field</type>
  22739.         <visible> <true /> </visible>
  22740.         <dontWrap> <false /> </dontWrap>
  22741.         <dontSearch> <false /> </dontSearch>
  22742.         <sharedText> <false /> </sharedText>
  22743.         <fixedLineHeight> <true /> </fixedLineHeight>
  22744.         <autoTab> <true /> </autoTab>
  22745.         <lockText> <false /> </lockText>
  22746.         <rect>
  22747.             <left>69</left>
  22748.             <top>278</top>
  22749.             <right>360</right>
  22750.             <bottom>296</bottom>
  22751.         </rect>
  22752.         <style>transparent</style>
  22753.         <autoSelect> <false /> </autoSelect>
  22754.         <showLines> <true /> </showLines>
  22755.         <wideMargins> <false /> </wideMargins>
  22756.         <multipleLines> <false /> </multipleLines>
  22757.         <reservedFamily> 0 </reservedFamily>
  22758.         <titleWidth>0</titleWidth>
  22759.         <icon>0</icon>
  22760.         <textAlign>left</textAlign>
  22761.         <font>Chicago</font>
  22762.         <textSize>12</textSize>
  22763.         <textStyle>plain</textStyle>
  22764.         <textHeight>16</textHeight>
  22765.         <name>Message</name>
  22766.         <script></script>
  22767.     </part>
  22768.     <part>
  22769.         <id>18</id>
  22770.         <type>field</type>
  22771.         <visible> <true /> </visible>
  22772.         <dontWrap> <false /> </dontWrap>
  22773.         <dontSearch> <false /> </dontSearch>
  22774.         <sharedText> <false /> </sharedText>
  22775.         <fixedLineHeight> <true /> </fixedLineHeight>
  22776.         <autoTab> <true /> </autoTab>
  22777.         <lockText> <false /> </lockText>
  22778.         <rect>
  22779.             <left>448</left>
  22780.             <top>262</top>
  22781.             <right>484</right>
  22782.             <bottom>280</bottom>
  22783.         </rect>
  22784.         <style>transparent</style>
  22785.         <autoSelect> <false /> </autoSelect>
  22786.         <showLines> <true /> </showLines>
  22787.         <wideMargins> <false /> </wideMargins>
  22788.         <multipleLines> <false /> </multipleLines>
  22789.         <reservedFamily> 0 </reservedFamily>
  22790.         <titleWidth>0</titleWidth>
  22791.         <icon>0</icon>
  22792.         <textAlign>left</textAlign>
  22793.         <font>Chicago</font>
  22794.         <textSize>12</textSize>
  22795.         <textStyle>plain</textStyle>
  22796.         <textHeight>16</textHeight>
  22797.         <name>Position</name>
  22798.         <script></script>
  22799.     </part>
  22800.     <part>
  22801.         <id>19</id>
  22802.         <type>field</type>
  22803.         <visible> <true /> </visible>
  22804.         <dontWrap> <false /> </dontWrap>
  22805.         <dontSearch> <false /> </dontSearch>
  22806.         <sharedText> <false /> </sharedText>
  22807.         <fixedLineHeight> <true /> </fixedLineHeight>
  22808.         <autoTab> <true /> </autoTab>
  22809.         <lockText> <false /> </lockText>
  22810.         <rect>
  22811.             <left>448</left>
  22812.             <top>278</top>
  22813.             <right>484</right>
  22814.             <bottom>296</bottom>
  22815.         </rect>
  22816.         <style>transparent</style>
  22817.         <autoSelect> <false /> </autoSelect>
  22818.         <showLines> <true /> </showLines>
  22819.         <wideMargins> <false /> </wideMargins>
  22820.         <multipleLines> <false /> </multipleLines>
  22821.         <reservedFamily> 0 </reservedFamily>
  22822.         <titleWidth>0</titleWidth>
  22823.         <icon>0</icon>
  22824.         <textAlign>left</textAlign>
  22825.         <font>Chicago</font>
  22826.         <textSize>12</textSize>
  22827.         <textStyle>plain</textStyle>
  22828.         <textHeight>16</textHeight>
  22829.         <name>Width</name>
  22830.         <script></script>
  22831.     </part>
  22832.     <part>
  22833.         <id>20</id>
  22834.         <type>field</type>
  22835.         <visible> <true /> </visible>
  22836.         <dontWrap> <false /> </dontWrap>
  22837.         <dontSearch> <false /> </dontSearch>
  22838.         <sharedText> <false /> </sharedText>
  22839.         <fixedLineHeight> <true /> </fixedLineHeight>
  22840.         <autoTab> <true /> </autoTab>
  22841.         <lockText> <false /> </lockText>
  22842.         <rect>
  22843.             <left>294</left>
  22844.             <top>262</top>
  22845.             <right>360</right>
  22846.             <bottom>280</bottom>
  22847.         </rect>
  22848.         <style>transparent</style>
  22849.         <autoSelect> <false /> </autoSelect>
  22850.         <showLines> <true /> </showLines>
  22851.         <wideMargins> <false /> </wideMargins>
  22852.         <multipleLines> <false /> </multipleLines>
  22853.         <reservedFamily> 0 </reservedFamily>
  22854.         <titleWidth>0</titleWidth>
  22855.         <icon>0</icon>
  22856.         <textAlign>left</textAlign>
  22857.         <font>Chicago</font>
  22858.         <textSize>12</textSize>
  22859.         <textStyle>plain</textStyle>
  22860.         <textHeight>16</textHeight>
  22861.         <name>ICON</name>
  22862.         <script></script>
  22863.     </part>
  22864.     <content>
  22865.         <layer>card</layer>
  22866.         <id>1</id>
  22867.         <text><span class="style1">
  22868.                                             </span><span class="style3">Promptoid 1.3</span><span class="style1">
  22869.  
  22870.                                          </span><span class="style2"> par Fr├⌐d├⌐ric RINALDI</span><span class="style1">
  22871.  
  22872.  
  22873. </span><span class="style4">DESCRIPTION</span><span class="style1">
  22874.   Promptoid allows to display a prompt dialog during any lengthy process. Dialog's width is set according to prompt string.
  22875.  
  22876. </span><span class="style3">Caution</span><span class="style1">
  22877.   This XCMD is the same as Prompt. Promptoid is for HC 2.0, while Prompt is for HC 1.2.
  22878.    If you already use Prompt in stacks to be converted in HC 2.0 format, just use the compatibility script below so that no script changes will be necessary while the calling convention has changed.
  22879.  
  22880. </span><span class="style3">  </span><span class="style7"> </span><span class="style3">Compatibility script has changed with Promptoid 1.2.</span><span class="style1">
  22881.  
  22882.  
  22883. </span><span class="style4">SYNTAX</span><span class="style1">
  22884.           Promptoid [<message>[<ICON name or id>[,<VLoc>[,<width>]]]
  22885.  
  22886.  
  22887. </span><span class="style4">PARAMETERS</span><span class="style1">
  22888.    All parameteres are optional.
  22889.  
  22890.    <message> is the string to be displayed.
  22891.  
  22892.    <ICON name or id> is the name or ID of any ICON resource to be displayed in the dialog.
  22893.  
  22894.    <VLoc> is an integer giving the vertical position of the dialog according to the card window. Default is centered.
  22895.  
  22896.    <width> is an integer giving teh width of the dialog.
  22897.  
  22898.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output).
  22899.  
  22900.  
  22901. </span><span class="style4">USING
  22902. </span><span class="style1">   If <message> param is omitted, default dialog's width will be 300 pixels.
  22903.  
  22904.    If <VLoc> param is omitted, the dialog will be centered on the card.
  22905.  
  22906.  
  22907. </span><span class="style4">PROPERTIES</span><span class="style1">
  22908.    Like any XWindow, Promptoid has properties that can be get and set thru HyperTalk. 
  22909. </span><span class="style5">             properties of window "Promptoid"
  22910. </span><span class="style1">
  22911. will return an item list of all allowed properties :
  22912.  
  22913.      ΓÇó icon      : id and name of displayed ICON resource, empty if none
  22914.      ΓÇó loc        : dialog's loc according to card window
  22915.      ΓÇó visible  : dialog's display state
  22916.      ΓÇó text      : prompt shown in the dialog
  22917.      ΓÇó vLoc     : dialog's vertical loc according to card window
  22918.      ΓÇó width    : dialog's width
  22919.  
  22920.  
  22921. </span><span class="style4">ERRORS
  22922. </span><span class="style1">If an error occurs, Promptoid can return :</span><span class="style4">
  22923. </span><span class="style1">     "Error : Promptoid already displayed"
  22924.      "Error : Bad coordinate"
  22925.      "Error : Bad width"
  22926.      "Error : Unable to create XWindow"
  22927.      "Error : XWindows not implemented"
  22928.  
  22929.  
  22930. </span><span class="style4">HISTORY
  22931. </span><span class="style3">1.3                                                                  11/18/91</span><span class="style1">
  22932. ΓÇó Fixed visual aspect bug under System 7
  22933.  
  22934. </span><span class="style3">1.2                                                                    8/16/91</span><span class="style1">
  22935. ΓÇó Added "=" online help param
  22936. ΓÇó Added </span><span class="style2">icon</span><span class="style1"> param and property
  22937. ΓÇó Dialog's width no more adjusted with </span><span class="style2">set textΓǪ</span><span class="style1">
  22938. </span></text>
  22939.     </content>
  22940.     <content>
  22941.         <layer>card</layer>
  22942.         <id>17</id>
  22943.         <text>This is a message</text>
  22944.     </content>
  22945.     <content>
  22946.         <layer>card</layer>
  22947.         <id>20</id>
  22948.         <text>257</text>
  22949.     </content>
  22950.     <name></name>
  22951.     <script></script>
  22952. </card>
  22953.  
  22954.  
  22955. card_39452.xml
  22956. <?xml version="1.0" encoding="utf-8" ?>
  22957. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  22958. <card>
  22959.     <id>39452</id>
  22960.     <filler1>0</filler1>
  22961.     <bitmap>BMAP_39129.pbm</bitmap>
  22962.     <cantDelete> <false /> </cantDelete>
  22963.     <showPict> <true /> </showPict>
  22964.     <dontSearch> <false /> </dontSearch>
  22965.     <owner>46925</owner>
  22966.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  22967.     <part>
  22968.         <id>1</id>
  22969.         <type>field</type>
  22970.         <visible> <true /> </visible>
  22971.         <dontWrap> <false /> </dontWrap>
  22972.         <dontSearch> <false /> </dontSearch>
  22973.         <sharedText> <false /> </sharedText>
  22974.         <fixedLineHeight> <true /> </fixedLineHeight>
  22975.         <autoTab> <false /> </autoTab>
  22976.         <lockText> <true /> </lockText>
  22977.         <rect>
  22978.             <left>69</left>
  22979.             <top>68</top>
  22980.             <right>434</right>
  22981.             <bottom>252</bottom>
  22982.         </rect>
  22983.         <style>scrolling</style>
  22984.         <autoSelect> <false /> </autoSelect>
  22985.         <showLines> <false /> </showLines>
  22986.         <wideMargins> <false /> </wideMargins>
  22987.         <multipleLines> <false /> </multipleLines>
  22988.         <reservedFamily> 0 </reservedFamily>
  22989.         <titleWidth>0</titleWidth>
  22990.         <icon>0</icon>
  22991.         <textAlign>left</textAlign>
  22992.         <font>Geneva</font>
  22993.         <textSize>9</textSize>
  22994.         <textStyle>plain</textStyle>
  22995.         <textHeight>12</textHeight>
  22996.         <name></name>
  22997.         <script></script>
  22998.     </part>
  22999.     <part>
  23000.         <id>25</id>
  23001.         <type>button</type>
  23002.         <visible> <true /> </visible>
  23003.         <reserved5> 0 </reserved5>
  23004.         <reserved4> 0 </reserved4>
  23005.         <reserved3> 0 </reserved3>
  23006.         <reserved2> 0 </reserved2>
  23007.         <reserved1> 0 </reserved1>
  23008.         <enabled> <true /> </enabled>
  23009.         <rect>
  23010.             <left>201</left>
  23011.             <top>278</top>
  23012.             <right>346</right>
  23013.             <bottom>316</bottom>
  23014.         </rect>
  23015.         <style>roundrect</style>
  23016.         <showName> <true /> </showName>
  23017.         <highlight> <false /> </highlight>
  23018.         <autoHighlight> <true /> </autoHighlight>
  23019.         <sharedHighlight> <true /> </sharedHighlight>
  23020.         <family>0</family>
  23021.         <titleWidth>0</titleWidth>
  23022.         <icon>0</icon>
  23023.         <textAlign>center</textAlign>
  23024.         <font>Geneva</font>
  23025.         <textSize>12</textSize>
  23026.         <textStyle>plain</textStyle>
  23027.         <name>RemoveFolder</name>
  23028.         <script>on mouseUp
  23029. get folderName("Select Folder to delete :")
  23030. if it Γëá empty
  23031. then
  23032. put it into Folder
  23033. delete last char of it
  23034. answer "Really erase ΓÇ£" & leafname(it) & "ΓÇ¥ ?" with "OK"┬¼
  23035. or "Cancel"
  23036. if it is "OK"
  23037. then
  23038. set cursor to watch
  23039. put "Deleting folder..."
  23040. RemoveFolder Folder
  23041. get the Result
  23042. put empty
  23043. if it Γëá empty
  23044. then answer it
  23045. end if
  23046. end if
  23047. end mouseUp
  23048. </script>
  23049.     </part>
  23050.     <content>
  23051.         <layer>card</layer>
  23052.         <id>1</id>
  23053.         <text>
  23054.                                           RemoveFolder 1.1
  23055.  
  23056.                                         by Fr├⌐d├⌐ric RINALDI
  23057.  
  23058.  
  23059. DESCRIPTION
  23060. ------------
  23061.   RemoveFolder is a XCMD allowing to delete a whole folder, even if it is not empty.
  23062.  
  23063.  
  23064. SYNTAX
  23065. -------
  23066.                               RemoveFolder <folder path|name>
  23067.  
  23068.  
  23069. PARAMETERS
  23070. ------------
  23071.    <folder path|name> can be a single name or whole pathname. If just a single name is supplied, it is assumed to be in the same folder than the current stack.
  23072.  
  23073. Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  23074.  
  23075.  
  23076. USING
  23077. -----
  23078.    If the remove is successfull, the Result will be empty. If an error occurs, the Result can return :
  23079.  
  23080.      "Error : Not a file"
  23081.      "Error : Not a folder"
  23082.      "Error : Alias file not supported"
  23083.      "Error : Volume not found"
  23084.      "Error : Bad Name"
  23085.      "Error : File not found"
  23086.      "Error : Folder not found"
  23087.      "Error : File is busy"
  23088.      "Error : I/O Error"
  23089.      "Error : Folder is full"
  23090.      "Error : Volume is locked"
  23091.      "Error : No resource fork"
  23092.      "Error : Duplicate file/folder name"
  23093.      "Error : Moving whole volume not allowed"
  23094.      "Error : Not an AppleShare volume"
  23095.      "Error : AppleShare insufficient privileges"
  23096.      "Error : Missing or empty parameter(s)"
  23097.  
  23098.  
  23099. HISTORY
  23100. --------
  23101. 1.1 :
  23102. ΓÇó Added support for System 7.0 alias files
  23103. ΓÇó General enhancement of the code
  23104. ΓÇó Added "=" param for online help
  23105.  
  23106.  
  23107.    The stack uses LeafName XFCN (by Kevin CALHOUN) and FolderName XFCN
  23108.  (by Eric CARLSON and Anup MURARKA).
  23109. </text>
  23110.     </content>
  23111.     <name>RemoveFolder 1.1</name>
  23112.     <script>
  23113.  
  23114.  
  23115.  
  23116. on opencard
  23117. end opencard
  23118.  
  23119. on closeCard
  23120. end closeCard
  23121.  
  23122. </script>
  23123. </card>
  23124.  
  23125.  
  23126. card_53715.xml
  23127. <?xml version="1.0" encoding="utf-8" ?>
  23128. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  23129. <card>
  23130.     <id>53715</id>
  23131.     <filler1>0</filler1>
  23132.     <bitmap>BMAP_39795.pbm</bitmap>
  23133.     <cantDelete> <false /> </cantDelete>
  23134.     <showPict> <true /> </showPict>
  23135.     <dontSearch> <false /> </dontSearch>
  23136.     <owner>46925</owner>
  23137.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  23138.     <part>
  23139.         <id>1</id>
  23140.         <type>field</type>
  23141.         <visible> <true /> </visible>
  23142.         <dontWrap> <false /> </dontWrap>
  23143.         <dontSearch> <false /> </dontSearch>
  23144.         <sharedText> <false /> </sharedText>
  23145.         <fixedLineHeight> <true /> </fixedLineHeight>
  23146.         <autoTab> <false /> </autoTab>
  23147.         <lockText> <true /> </lockText>
  23148.         <rect>
  23149.             <left>69</left>
  23150.             <top>68</top>
  23151.             <right>434</right>
  23152.             <bottom>252</bottom>
  23153.         </rect>
  23154.         <style>scrolling</style>
  23155.         <autoSelect> <false /> </autoSelect>
  23156.         <showLines> <false /> </showLines>
  23157.         <wideMargins> <false /> </wideMargins>
  23158.         <multipleLines> <false /> </multipleLines>
  23159.         <reservedFamily> 0 </reservedFamily>
  23160.         <titleWidth>0</titleWidth>
  23161.         <icon>0</icon>
  23162.         <textAlign>left</textAlign>
  23163.         <font>Geneva</font>
  23164.         <textSize>9</textSize>
  23165.         <textStyle>plain</textStyle>
  23166.         <textHeight>12</textHeight>
  23167.         <name>Text</name>
  23168.         <script></script>
  23169.     </part>
  23170.     <part>
  23171.         <id>2</id>
  23172.         <type>button</type>
  23173.         <visible> <true /> </visible>
  23174.         <reserved5> 0 </reserved5>
  23175.         <reserved4> 0 </reserved4>
  23176.         <reserved3> 0 </reserved3>
  23177.         <reserved2> 0 </reserved2>
  23178.         <reserved1> 0 </reserved1>
  23179.         <enabled> <true /> </enabled>
  23180.         <rect>
  23181.             <left>174</left>
  23182.             <top>281</top>
  23183.             <right>343</right>
  23184.             <bottom>311</bottom>
  23185.         </rect>
  23186.         <style>roundrect</style>
  23187.         <showName> <true /> </showName>
  23188.         <highlight> <false /> </highlight>
  23189.         <autoHighlight> <true /> </autoHighlight>
  23190.         <sharedHighlight> <true /> </sharedHighlight>
  23191.         <family>0</family>
  23192.         <titleWidth>0</titleWidth>
  23193.         <icon>0</icon>
  23194.         <textAlign>center</textAlign>
  23195.         <font>Geneva</font>
  23196.         <textSize>12</textSize>
  23197.         <textStyle>plain</textStyle>
  23198.         <name>ReplaceCharSet</name>
  23199.         <script>on mouseUp
  23200. ask "Remplace chars in text field :" with "├⌐├¿├á"
  23201. if it is empty then exit mouseUp
  23202. put it into Target
  23203. ask "By chars :" with "eea"
  23204. if it is empty then exit mouseUp
  23205. show cd fld 2
  23206. put ReplaceCharSet(cd fld 1,Target,it) into cd fld 2
  23207. show cd fld 2
  23208. end mouseUp
  23209. </script>
  23210.     </part>
  23211.     <part>
  23212.         <id>3</id>
  23213.         <type>field</type>
  23214.         <visible> <false /> </visible>
  23215.         <dontWrap> <false /> </dontWrap>
  23216.         <dontSearch> <false /> </dontSearch>
  23217.         <sharedText> <false /> </sharedText>
  23218.         <fixedLineHeight> <true /> </fixedLineHeight>
  23219.         <autoTab> <false /> </autoTab>
  23220.         <lockText> <true /> </lockText>
  23221.         <rect>
  23222.             <left>69</left>
  23223.             <top>68</top>
  23224.             <right>434</right>
  23225.             <bottom>252</bottom>
  23226.         </rect>
  23227.         <style>scrolling</style>
  23228.         <autoSelect> <false /> </autoSelect>
  23229.         <showLines> <false /> </showLines>
  23230.         <wideMargins> <false /> </wideMargins>
  23231.         <multipleLines> <false /> </multipleLines>
  23232.         <reservedFamily> 0 </reservedFamily>
  23233.         <titleWidth>0</titleWidth>
  23234.         <icon>0</icon>
  23235.         <textAlign>left</textAlign>
  23236.         <font>Geneva</font>
  23237.         <textSize>9</textSize>
  23238.         <textStyle>plain</textStyle>
  23239.         <textHeight>12</textHeight>
  23240.         <name></name>
  23241.         <script>on mouseUp
  23242. hide me
  23243. put empty into me
  23244. end mouseUp</script>
  23245.     </part>
  23246.     <content>
  23247.         <layer>card</layer>
  23248.         <id>1</id>
  23249.         <text>
  23250.  
  23251.                                           ReplaceCharSet 1.0
  23252.  
  23253.                                           by Fr├⌐d├⌐ric RINALDI
  23254.  
  23255.  
  23256. DESCRIPTION
  23257. ------------
  23258.   ReplaceCharSet allows to replace a whole set of chars by another, in one single pass.
  23259.  
  23260.  
  23261. SYNTAX
  23262. -------
  23263.              ReplaceCharSet(<text>,<original set>,<substitution set>)
  23264.  
  23265.  
  23266. PARAMETERS
  23267. ------------
  23268.    <text> is the text to modify.
  23269.  
  23270.    <original set> and <substitution set> are two sets of chars. They must have the same length.
  23271.  
  23272.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  23273.  
  23274.  
  23275. USING
  23276. -----
  23277.    The XFCN return the changed text.
  23278.  
  23279.    ReplaceCharSet is perfectly suited to change non-standard ASCII tables.
  23280.  
  23281.  
  23282. ERRORS
  23283. -------
  23284. If an error occurs, ReplaceCharSet can return :
  23285.      "Error : Missing or empty parameter"
  23286.      "Error : Sets have different length"
  23287.  
  23288.  
  23289. HISTORY
  23290. --------
  23291. 1.0                                                                                        17/07/92
  23292. ΓÇó First public release
  23293. </text>
  23294.     </content>
  23295.     <name></name>
  23296.     <script></script>
  23297. </card>
  23298.  
  23299.  
  23300. card_51130.xml
  23301. <?xml version="1.0" encoding="utf-8" ?>
  23302. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  23303. <card>
  23304.     <id>51130</id>
  23305.     <filler1>0</filler1>
  23306.     <bitmap>BMAP_37370.pbm</bitmap>
  23307.     <cantDelete> <false /> </cantDelete>
  23308.     <showPict> <true /> </showPict>
  23309.     <dontSearch> <false /> </dontSearch>
  23310.     <owner>46925</owner>
  23311.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  23312.     <part>
  23313.         <id>1</id>
  23314.         <type>field</type>
  23315.         <visible> <true /> </visible>
  23316.         <dontWrap> <false /> </dontWrap>
  23317.         <dontSearch> <false /> </dontSearch>
  23318.         <sharedText> <false /> </sharedText>
  23319.         <fixedLineHeight> <true /> </fixedLineHeight>
  23320.         <autoTab> <false /> </autoTab>
  23321.         <lockText> <true /> </lockText>
  23322.         <rect>
  23323.             <left>69</left>
  23324.             <top>68</top>
  23325.             <right>434</right>
  23326.             <bottom>252</bottom>
  23327.         </rect>
  23328.         <style>scrolling</style>
  23329.         <autoSelect> <false /> </autoSelect>
  23330.         <showLines> <false /> </showLines>
  23331.         <wideMargins> <false /> </wideMargins>
  23332.         <multipleLines> <false /> </multipleLines>
  23333.         <reservedFamily> 0 </reservedFamily>
  23334.         <titleWidth>0</titleWidth>
  23335.         <icon>0</icon>
  23336.         <textAlign>left</textAlign>
  23337.         <font>Geneva</font>
  23338.         <textSize>9</textSize>
  23339.         <textStyle>plain</textStyle>
  23340.         <textHeight>12</textHeight>
  23341.         <name></name>
  23342.         <script></script>
  23343.     </part>
  23344.     <part>
  23345.         <id>29</id>
  23346.         <type>button</type>
  23347.         <visible> <true /> </visible>
  23348.         <reserved5> 0 </reserved5>
  23349.         <reserved4> 0 </reserved4>
  23350.         <reserved3> 0 </reserved3>
  23351.         <reserved2> 0 </reserved2>
  23352.         <reserved1> 0 </reserved1>
  23353.         <enabled> <true /> </enabled>
  23354.         <rect>
  23355.             <left>174</left>
  23356.             <top>281</top>
  23357.             <right>343</right>
  23358.             <bottom>311</bottom>
  23359.         </rect>
  23360.         <style>roundrect</style>
  23361.         <showName> <true /> </showName>
  23362.         <highlight> <false /> </highlight>
  23363.         <autoHighlight> <true /> </autoHighlight>
  23364.         <sharedHighlight> <true /> </sharedHighlight>
  23365.         <family>0</family>
  23366.         <titleWidth>0</titleWidth>
  23367.         <icon>0</icon>
  23368.         <textAlign>center</textAlign>
  23369.         <font>Geneva</font>
  23370.         <textSize>12</textSize>
  23371.         <textStyle>plain</textStyle>
  23372.         <name>ResolveAlias</name>
  23373.         <script>on mouseUp
  23374. ask "Alias pathName :"
  23375. if it Γëá empty
  23376. then answer ResolveAlias(it)
  23377. end mouseUp
  23378. </script>
  23379.     </part>
  23380.     <content>
  23381.         <layer>card</layer>
  23382.         <id>1</id>
  23383.         <text>
  23384.  
  23385.                                             ResolveAlias 1.1
  23386.  
  23387.                                           by Fr├⌐d├⌐ric RINALDI
  23388.  
  23389.  
  23390. DESCRIPTION
  23391. ------------
  23392.   ResolveAlias simply returns the real pathname pointed by an alias file. It requires System 7.
  23393.  
  23394.  
  23395. SYNTAX
  23396. -------
  23397.                                        ResolveAlias <pathname>
  23398.  
  23399.  
  23400. PARAMETERS
  23401. ------------
  23402.    <pathname> is the full pathName of the alias file.
  23403.  
  23404.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  23405.  
  23406.  
  23407. USING
  23408. -----
  23409.    The XFCN return the resolved alias path. Any level-depth aliasing is resolved.
  23410.  
  23411.    If the pointed file is on a distant volume, the result will contain a second line : "<zone name>:<server name>"
  23412.  
  23413.  
  23414. ERROR
  23415. ------
  23416. If an error occurs, ResolveAlias can return :
  23417.      "Error : Couldn't mount required volume"
  23418.      "Error : Alias Mgr error"
  23419.      "Error : Volume not found"
  23420.      "Error : Bad Name"
  23421.      "Error : File not found"
  23422.      "Error : Folder not found"
  23423.      "Error : I/O Error"
  23424.  
  23425.  
  23426. HISTORY
  23427. --------
  23428. 1.1                                                                                            06/01/92
  23429. ΓÇó Added zone & server names in the result
  23430.  
  23431. 1.0                                                                                            03/13/92
  23432. ΓÇó First release
  23433. </text>
  23434.     </content>
  23435.     <name></name>
  23436.     <script></script>
  23437. </card>
  23438.  
  23439.  
  23440. card_39961.xml
  23441. <?xml version="1.0" encoding="utf-8" ?>
  23442. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  23443. <card>
  23444.     <id>39961</id>
  23445.     <filler1>0</filler1>
  23446.     <bitmap>BMAP_40254.pbm</bitmap>
  23447.     <cantDelete> <false /> </cantDelete>
  23448.     <showPict> <true /> </showPict>
  23449.     <dontSearch> <false /> </dontSearch>
  23450.     <owner>46925</owner>
  23451.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  23452.     <part>
  23453.         <id>1</id>
  23454.         <type>field</type>
  23455.         <visible> <true /> </visible>
  23456.         <dontWrap> <false /> </dontWrap>
  23457.         <dontSearch> <false /> </dontSearch>
  23458.         <sharedText> <false /> </sharedText>
  23459.         <fixedLineHeight> <true /> </fixedLineHeight>
  23460.         <autoTab> <false /> </autoTab>
  23461.         <lockText> <true /> </lockText>
  23462.         <rect>
  23463.             <left>69</left>
  23464.             <top>68</top>
  23465.             <right>434</right>
  23466.             <bottom>252</bottom>
  23467.         </rect>
  23468.         <style>scrolling</style>
  23469.         <autoSelect> <false /> </autoSelect>
  23470.         <showLines> <false /> </showLines>
  23471.         <wideMargins> <false /> </wideMargins>
  23472.         <multipleLines> <false /> </multipleLines>
  23473.         <reservedFamily> 0 </reservedFamily>
  23474.         <titleWidth>0</titleWidth>
  23475.         <icon>0</icon>
  23476.         <textAlign>left</textAlign>
  23477.         <font>Geneva</font>
  23478.         <textSize>9</textSize>
  23479.         <textStyle>plain</textStyle>
  23480.         <textHeight>12</textHeight>
  23481.         <name></name>
  23482.         <script></script>
  23483.     </part>
  23484.     <part>
  23485.         <id>5</id>
  23486.         <type>button</type>
  23487.         <visible> <true /> </visible>
  23488.         <reserved5> 0 </reserved5>
  23489.         <reserved4> 0 </reserved4>
  23490.         <reserved3> 0 </reserved3>
  23491.         <reserved2> 0 </reserved2>
  23492.         <reserved1> 0 </reserved1>
  23493.         <enabled> <true /> </enabled>
  23494.         <rect>
  23495.             <left>174</left>
  23496.             <top>281</top>
  23497.             <right>343</right>
  23498.             <bottom>311</bottom>
  23499.         </rect>
  23500.         <style>roundrect</style>
  23501.         <showName> <true /> </showName>
  23502.         <highlight> <false /> </highlight>
  23503.         <autoHighlight> <true /> </autoHighlight>
  23504.         <sharedHighlight> <true /> </sharedHighlight>
  23505.         <family>0</family>
  23506.         <titleWidth>0</titleWidth>
  23507.         <icon>0</icon>
  23508.         <textAlign>center</textAlign>
  23509.         <font>Geneva</font>
  23510.         <textSize>12</textSize>
  23511.         <textStyle>plain</textStyle>
  23512.         <name>ResText</name>
  23513.         <script>on mouseUp
  23514. ask "Resource type :" with "TEXT"
  23515. if it Γëá empty
  23516. then
  23517. put it into Type
  23518. ask "Resource name or ID :" with "Sample"
  23519. if it Γëá empty
  23520. then
  23521. put it into Res
  23522. answer "Strip control chars ?" with "No" or "Yes"
  23523. show cd fld 2
  23524. put ResText(Type,Res,(it is "Yes")) into cd fld 2
  23525. end if
  23526. end if
  23527. end mouseUp
  23528. </script>
  23529.     </part>
  23530.     <part>
  23531.         <id>16</id>
  23532.         <type>field</type>
  23533.         <visible> <false /> </visible>
  23534.         <dontWrap> <false /> </dontWrap>
  23535.         <dontSearch> <false /> </dontSearch>
  23536.         <sharedText> <false /> </sharedText>
  23537.         <fixedLineHeight> <true /> </fixedLineHeight>
  23538.         <autoTab> <false /> </autoTab>
  23539.         <lockText> <true /> </lockText>
  23540.         <rect>
  23541.             <left>70</left>
  23542.             <top>68</top>
  23543.             <right>433</right>
  23544.             <bottom>252</bottom>
  23545.         </rect>
  23546.         <style>scrolling</style>
  23547.         <autoSelect> <false /> </autoSelect>
  23548.         <showLines> <false /> </showLines>
  23549.         <wideMargins> <true /> </wideMargins>
  23550.         <multipleLines> <false /> </multipleLines>
  23551.         <reservedFamily> 0 </reservedFamily>
  23552.         <titleWidth>0</titleWidth>
  23553.         <icon>0</icon>
  23554.         <textAlign>left</textAlign>
  23555.         <font>Geneva</font>
  23556.         <textSize>10</textSize>
  23557.         <textStyle>plain</textStyle>
  23558.         <textHeight>13</textHeight>
  23559.         <name></name>
  23560.         <script>on mouseUp
  23561. HideAll
  23562. end mouseUp</script>
  23563.     </part>
  23564.     <content>
  23565.         <layer>card</layer>
  23566.         <id>1</id>
  23567.         <text>
  23568.  
  23569.                                                 ResText 1.1
  23570.  
  23571.                                           by Fr├⌐d├⌐ric RINALDI
  23572.  
  23573.  
  23574. DESCRIPTION
  23575. ------------
  23576.   ResText XFCN allows to get text from any resource.
  23577.  
  23578.  
  23579. SYNTAX
  23580. --------
  23581.                 ResText(<res type>,<res ID or name>[,<fileName>]
  23582.                               [,<stripCtrl>][,"DontResolveAlias"])
  23583.  
  23584.  
  23585. PARAMETERS
  23586. ------------
  23587.  
  23588.    <res type> is a four chars string, giving the resource type.
  23589.  
  23590.    <res ID or name> can be the ID or the name of the resource.
  23591.  
  23592.    <fileName> is optional, and the full pathname of the file to get the resource from. It can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack. If not provided, the current stack is used.
  23593.  
  23594.    <stripCtrl> is a boolean allowing to filter control chars from the got text. Default is TRUE.
  23595.  
  23596.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  23597.  
  23598.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  23599.  
  23600.  
  23601. USING
  23602. -----
  23603.   The XFCN returns the text read from the resource.
  23604.  
  23605. If an error occurs, ResText can return :
  23606.      "Error : Not a file"
  23607.      "Error : Not a folder"
  23608.      "Error : Alias file not supported"
  23609.      "Error : Volume not found"
  23610.      "Error : Bad Name"
  23611.      "Error : File not found"
  23612.      "Error : Folder not found"
  23613.      "Error : File is busy"
  23614.      "Error : I/O Error"
  23615.      "Error : Folder is full"
  23616.      "Error : Volume is locked"
  23617.      "Error : No resource fork"
  23618.      "Error : Duplicate file/folder name"
  23619.      "Error : Moving whole volume not allowed"
  23620.      "Error : Not an AppleShare volume"
  23621.      "Error : AppleShare insufficient privileges"
  23622.      "Error : Missing or empty parameter(s)"
  23623.      "Error : Bad resource type"
  23624.      "Error : Resource not found"
  23625.      "Error : Out of memory"
  23626.  
  23627.  
  23628. HISTORY
  23629. --------
  23630. 1.1 :
  23631. ΓÇó Added support for System 7.0 alias files
  23632. ΓÇó General enhancement of the code
  23633. ΓÇó Added "=" param for online help
  23634. </text>
  23635.     </content>
  23636.     <name>ResText 1.1</name>
  23637.     <script>
  23638.  
  23639.  
  23640.  
  23641. on opencard
  23642. end opencard
  23643.  
  23644. on closeCard
  23645. HideAll
  23646. end closeCard
  23647.  
  23648. on HideAll
  23649. hide cd fld 2
  23650. put empty into cd fld 2
  23651. end HideAll
  23652.  
  23653. </script>
  23654. </card>
  23655.  
  23656.  
  23657. card_40670.xml
  23658. <?xml version="1.0" encoding="utf-8" ?>
  23659. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  23660. <card>
  23661.     <id>40670</id>
  23662.     <filler1>0</filler1>
  23663.     <bitmap>BMAP_40875.pbm</bitmap>
  23664.     <cantDelete> <false /> </cantDelete>
  23665.     <showPict> <true /> </showPict>
  23666.     <dontSearch> <false /> </dontSearch>
  23667.     <owner>46925</owner>
  23668.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  23669.     <part>
  23670.         <id>1</id>
  23671.         <type>field</type>
  23672.         <visible> <true /> </visible>
  23673.         <dontWrap> <false /> </dontWrap>
  23674.         <dontSearch> <false /> </dontSearch>
  23675.         <sharedText> <false /> </sharedText>
  23676.         <fixedLineHeight> <true /> </fixedLineHeight>
  23677.         <autoTab> <false /> </autoTab>
  23678.         <lockText> <true /> </lockText>
  23679.         <rect>
  23680.             <left>69</left>
  23681.             <top>68</top>
  23682.             <right>434</right>
  23683.             <bottom>252</bottom>
  23684.         </rect>
  23685.         <style>scrolling</style>
  23686.         <autoSelect> <false /> </autoSelect>
  23687.         <showLines> <false /> </showLines>
  23688.         <wideMargins> <false /> </wideMargins>
  23689.         <multipleLines> <false /> </multipleLines>
  23690.         <reservedFamily> 0 </reservedFamily>
  23691.         <titleWidth>0</titleWidth>
  23692.         <icon>0</icon>
  23693.         <textAlign>left</textAlign>
  23694.         <font>Geneva</font>
  23695.         <textSize>9</textSize>
  23696.         <textStyle>plain</textStyle>
  23697.         <textHeight>12</textHeight>
  23698.         <name></name>
  23699.         <script></script>
  23700.     </part>
  23701.     <part>
  23702.         <id>24</id>
  23703.         <type>button</type>
  23704.         <visible> <true /> </visible>
  23705.         <reserved5> 0 </reserved5>
  23706.         <reserved4> 0 </reserved4>
  23707.         <reserved3> 0 </reserved3>
  23708.         <reserved2> 0 </reserved2>
  23709.         <reserved1> 0 </reserved1>
  23710.         <enabled> <true /> </enabled>
  23711.         <rect>
  23712.             <left>90</left>
  23713.             <top>287</top>
  23714.             <right>260</right>
  23715.             <bottom>309</bottom>
  23716.         </rect>
  23717.         <style>roundrect</style>
  23718.         <showName> <true /> </showName>
  23719.         <highlight> <false /> </highlight>
  23720.         <autoHighlight> <true /> </autoHighlight>
  23721.         <sharedHighlight> <true /> </sharedHighlight>
  23722.         <family>0</family>
  23723.         <titleWidth>0</titleWidth>
  23724.         <icon>0</icon>
  23725.         <textAlign>center</textAlign>
  23726.         <font>Geneva</font>
  23727.         <textSize>12</textSize>
  23728.         <textStyle>plain</textStyle>
  23729.         <name>ClipToScrap</name>
  23730.         <script>on mouseUp
  23731. ask "ScrapBook file ?"
  23732. if it Γëá empty
  23733. then ClipToScrap it
  23734. else ClipToScrap
  23735. get the Result
  23736. if it Γëá empty
  23737. then answer it
  23738. else answer "Item sucessfully added"
  23739. end mouseUp
  23740. </script>
  23741.     </part>
  23742.     <part>
  23743.         <id>25</id>
  23744.         <type>button</type>
  23745.         <visible> <true /> </visible>
  23746.         <reserved5> 0 </reserved5>
  23747.         <reserved4> 0 </reserved4>
  23748.         <reserved3> 0 </reserved3>
  23749.         <reserved2> 0 </reserved2>
  23750.         <reserved1> 0 </reserved1>
  23751.         <enabled> <true /> </enabled>
  23752.         <rect>
  23753.             <left>301</left>
  23754.             <top>287</top>
  23755.             <right>471</right>
  23756.             <bottom>309</bottom>
  23757.         </rect>
  23758.         <style>roundrect</style>
  23759.         <showName> <true /> </showName>
  23760.         <highlight> <false /> </highlight>
  23761.         <autoHighlight> <true /> </autoHighlight>
  23762.         <sharedHighlight> <true /> </sharedHighlight>
  23763.         <family>0</family>
  23764.         <titleWidth>0</titleWidth>
  23765.         <icon>0</icon>
  23766.         <textAlign>center</textAlign>
  23767.         <font>Geneva</font>
  23768.         <textSize>12</textSize>
  23769.         <textStyle>plain</textStyle>
  23770.         <name>ScrapToClip</name>
  23771.         <script>on mouseUp
  23772. ask "ScrapBook file ?"
  23773. put it into ScrapName
  23774. get space
  23775. repeat until it Γëá space and it Γëá empty
  23776. ask "Item number to get :" with 1
  23777. end repeat
  23778. put it into Nb
  23779. if ScrapName Γëá empty
  23780. then ScrapToClip Nb,ScrapName
  23781. else ScrapToClip Nb
  23782. get the Result
  23783. if first word of it = "Error"
  23784. then answer it
  23785. else
  23786. if it is "TEXT"
  23787. then select text of cd fld 2
  23788. type "V" with commandKey
  23789. end if
  23790. end mouseUp
  23791. </script>
  23792.     </part>
  23793.     <content>
  23794.         <layer>card</layer>
  23795.         <id>1</id>
  23796.         <text>
  23797.                                                ClipToScrap 1.9
  23798.  
  23799.                                              by Frederic RINALDI
  23800.  
  23801.  
  23802. DESCRIPTION
  23803. ------------
  23804.    Each time the XCMD is called, the clipboard's content is added to the choosen ScrapBook.
  23805.  
  23806.  
  23807. SYNTAX
  23808. -------
  23809.                                    ClipToScrap [<ScrapBook file>]
  23810.  
  23811.  
  23812. PARAMETERS
  23813. ------------
  23814.    With no parameter passed, the command uses the standard ScrapBook in the boot disk's System Folder. If a single name is passed, it uses the ScrapBook file in the boot disk's System Folder. With a full pathname, the ScrapBook can be precisely localised on the volume.
  23815.  
  23816.  
  23817. USING
  23818. -----
  23819.    In any case, if the ScrapBook file already exists, the clipboard's content is simply added to the end of it. Otherwise, the ScrapBook file is created and its content set to the first item.
  23820.  
  23821.   If no error occured, the Result will be empty. Otherwise, it can contain :
  23822.      "Error : Not a file"
  23823.      "Error : Not a folder"
  23824.      "Error : Alias file not supported"
  23825.      "Error : Volume not found"
  23826.      "Error : Bad Name"
  23827.      "Error : File not found"
  23828.      "Error : Folder not found"
  23829.      "Error : File is busy"
  23830.      "Error : I/O Error"
  23831.      "Error : Folder is full"
  23832.      "Error : Volume is locked"
  23833.      "Error : No resource fork"
  23834.      "Error : Duplicate file/folder name"
  23835.      "Error : Moving whole volume not allowed"
  23836.      "Error : Not an AppleShare volume"
  23837.      "Error : AppleShare insufficient privileges"
  23838.      "Error : Volume not found"
  23839.      "Error : ScrapBook creation failed"
  23840.      "Error : Folder not found"
  23841.      "Error : ScrapBook already open"
  23842.      "Error : Unknown #XX"
  23843.      "Error : Couln't load Scrap"
  23844.      "Error : Empty ClipBoard"
  23845.      "Error : Couldn't find System folder"
  23846.      "Error : Not a ScrapBook file"
  23847.      "Error : ScrapBook file is full"
  23848.      "Error : Adding ClipBoard to ScrapBook failed"
  23849.  
  23850.  
  23851. HISTORY
  23852. --------
  23853. 1.9 :                                                                                          12/25/91
  23854. ΓÇó Fixed alias file bug under System 7.0.1
  23855.  
  23856. 1.8 :                                                                                          12/04/91
  23857. ΓÇó Fixed new scrapBook file creation bug
  23858.  
  23859. 1.7 :                                                                                          08/04/91
  23860. ΓÇó Added support for System 7.0 alias files
  23861. ΓÇó General enhancement of the code
  23862. ΓÇó Added "=" param for online help
  23863.  
  23864. 1.5 :
  23865. ΓÇó fixed bug arising on Mac Plus only
  23866.  
  23867. 1.3 :
  23868. ΓÇó fixed Clipboard resources counting
  23869. ΓÇó changed error messages
  23870.  
  23871. 1.2 :
  23872. ΓÇó complete rebuilt of code
  23873.  
  23874. 1.1 :
  23875. ΓÇó handling any type of Clipboard content
  23876.  
  23877.  
  23878.  
  23879.                                                ScrapToClip 1.9
  23880.  
  23881.                                             by Frederic RINALDI
  23882.  
  23883.  
  23884. DESCRIPTION
  23885. ------------
  23886.    The command gets the choosen item from the designed ScrapBook file and places it in the clipboard.
  23887.  
  23888.  
  23889. SYNTAX
  23890. -------
  23891.          ScrapToClip <item number|*> [,<ScrapBook file>] [<remove>]
  23892.  
  23893.  
  23894. PARAMETERS
  23895. -------------
  23896.    <item number|*> is a positive integer giving the item's row to get in the ScrapBook, or "*" (designing the last item of Scrapbook).
  23897.  
  23898.    If <ScrapBook file> is omitted, the command uses the standard ScrapBook in the boot disk's System Folder. If a single name is passed, it uses the ScrapBook file at the same hierarchical level as the current stack. With a full pathname, the ScrapBook can be precisely localised on the volume.
  23899.  
  23900.    <remove> is a boolean, telling if the Scrapbook item must be removed or not after its transfer to the Clipboard. Default is false (item kept).
  23901.  
  23902.  
  23903. USING
  23904. -----
  23905.   If no error occured, the Result will contains a comma-delimited list of the resource types transfered to the clipBoard. Otherwise, it can contain :
  23906.      "Error : Not a file"
  23907.      "Error : Not a folder"
  23908.      "Error : Alias file not supported"
  23909.      "Error : Volume not found"
  23910.      "Error : Bad Name"
  23911.      "Error : File not found"
  23912.      "Error : Folder not found"
  23913.      "Error : File is busy"
  23914.      "Error : I/O Error"
  23915.      "Error : Folder is full"
  23916.      "Error : Volume is locked"
  23917.      "Error : No resource fork"
  23918.      "Error : Duplicate file/folder name"
  23919.      "Error : Moving whole volume not allowed"
  23920.      "Error : Not an AppleShare volume"
  23921.      "Error : AppleShare insufficient privileges"
  23922.      "Error : Couldn't find System folder"
  23923.      "Error : Missing item number"
  23924.      "Error : Item number must be ΓëÑ 0"
  23925.      "Error : Not a ScrapBook file"
  23926.      "Error : No such item in ScrapBook"
  23927.      "Error : Couln't clear Clipboard"
  23928.      "Error : Couln't set Clipboard"
  23929.  
  23930.  
  23931. HISTORY
  23932. -------
  23933. 1.2 :                                                                                          12/25/91
  23934. ΓÇó Fixed alias file bug under System 7.0.1
  23935.  
  23936. 1.7 :                                                                                          08/04/91
  23937. ΓÇó Added support for System 7.0 alias files
  23938. ΓÇó General enhancement of the code
  23939. ΓÇó Added "=" param for online help
  23940.  
  23941. 1.5 :
  23942. ΓÇó fixed bug arising on Mac Plus only
  23943.  
  23944. 1.3 :
  23945. ΓÇó Added Scrapbook item removing
  23946. ΓÇó changed error messages
  23947.  
  23948. 1.2 :
  23949. ΓÇó complete rebuilt of code
  23950.  
  23951. 1.1 :
  23952. ΓÇó handling any type of Clipboard content
  23953. </text>
  23954.     </content>
  23955.     <name></name>
  23956.     <script></script>
  23957. </card>
  23958.  
  23959.  
  23960. card_55177.xml
  23961. <?xml version="1.0" encoding="utf-8" ?>
  23962. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  23963. <card>
  23964.     <id>55177</id>
  23965.     <filler1>0</filler1>
  23966.     <bitmap>BMAP_51291.pbm</bitmap>
  23967.     <cantDelete> <false /> </cantDelete>
  23968.     <showPict> <true /> </showPict>
  23969.     <dontSearch> <false /> </dontSearch>
  23970.     <owner>46925</owner>
  23971.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  23972.     <part>
  23973.         <id>1</id>
  23974.         <type>field</type>
  23975.         <visible> <true /> </visible>
  23976.         <dontWrap> <false /> </dontWrap>
  23977.         <dontSearch> <false /> </dontSearch>
  23978.         <sharedText> <false /> </sharedText>
  23979.         <fixedLineHeight> <true /> </fixedLineHeight>
  23980.         <autoTab> <false /> </autoTab>
  23981.         <lockText> <true /> </lockText>
  23982.         <rect>
  23983.             <left>69</left>
  23984.             <top>68</top>
  23985.             <right>434</right>
  23986.             <bottom>252</bottom>
  23987.         </rect>
  23988.         <style>scrolling</style>
  23989.         <autoSelect> <false /> </autoSelect>
  23990.         <showLines> <false /> </showLines>
  23991.         <wideMargins> <false /> </wideMargins>
  23992.         <multipleLines> <false /> </multipleLines>
  23993.         <reservedFamily> 0 </reservedFamily>
  23994.         <titleWidth>0</titleWidth>
  23995.         <icon>0</icon>
  23996.         <textAlign>left</textAlign>
  23997.         <font>Geneva</font>
  23998.         <textSize>9</textSize>
  23999.         <textStyle>plain</textStyle>
  24000.         <textHeight>12</textHeight>
  24001.         <name>Text</name>
  24002.         <script></script>
  24003.     </part>
  24004.     <part>
  24005.         <id>2</id>
  24006.         <type>button</type>
  24007.         <visible> <true /> </visible>
  24008.         <reserved5> 0 </reserved5>
  24009.         <reserved4> 0 </reserved4>
  24010.         <reserved3> 0 </reserved3>
  24011.         <reserved2> 0 </reserved2>
  24012.         <reserved1> 0 </reserved1>
  24013.         <enabled> <true /> </enabled>
  24014.         <rect>
  24015.             <left>174</left>
  24016.             <top>281</top>
  24017.             <right>343</right>
  24018.             <bottom>311</bottom>
  24019.         </rect>
  24020.         <style>roundrect</style>
  24021.         <showName> <true /> </showName>
  24022.         <highlight> <false /> </highlight>
  24023.         <autoHighlight> <true /> </autoHighlight>
  24024.         <sharedHighlight> <true /> </sharedHighlight>
  24025.         <family>0</family>
  24026.         <titleWidth>0</titleWidth>
  24027.         <icon>0</icon>
  24028.         <textAlign>center</textAlign>
  24029.         <font>Geneva</font>
  24030.         <textSize>12</textSize>
  24031.         <textStyle>plain</textStyle>
  24032.         <name>SelectDir</name>
  24033.         <script>on mouseUp
  24034. answer SelectDir()
  24035. end mouseUp
  24036. </script>
  24037.     </part>
  24038.     <content>
  24039.         <layer>card</layer>
  24040.         <id>1</id>
  24041.         <text>
  24042.  
  24043.                                              SelectDir 1.1
  24044.  
  24045.                                         by Fr├⌐d├⌐ric RINALDI
  24046.  
  24047.  
  24048. DESCRIPTION
  24049. ------------
  24050.   SelectDir provides a dialog allowing to choose a folder.
  24051.  
  24052.  
  24053. SYNTAX
  24054. --------
  24055.                                          SelectDir([<prompt>])
  24056.  
  24057.  
  24058. PARAMETERS
  24059. ------------
  24060.    <prompt> is the message appearing in the dialog.
  24061.  
  24062.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  24063.  
  24064.  
  24065. USING
  24066. -----
  24067.    The XFCN returns the full pathame of choosen folder.
  24068.    An empty string is returned if the user clicked on Cancel.
  24069.    Although working fine with both System 6 and System 7, FullSFPack is better suited for the latter, due in part to alias handling.
  24070.  
  24071.    This XFCN require 2 related DLOG and DITL resources.
  24072.  
  24073.  
  24074. ERRORS
  24075. -------
  24076. If an error occurs, SelectDir can return :
  24077.      "Error : Missing DLOG/DITL resource(s)"
  24078.  
  24079.  
  24080. HISTORY
  24081. --------
  24082. 1.0                                                                                        17/07/92
  24083. ΓÇó First public release
  24084. </text>
  24085.     </content>
  24086.     <name></name>
  24087.     <script></script>
  24088. </card>
  24089.  
  24090.  
  24091. card_57568.xml
  24092. <?xml version="1.0" encoding="utf-8" ?>
  24093. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  24094. <card>
  24095.     <id>57568</id>
  24096.     <filler1>0</filler1>
  24097.     <bitmap>BMAP_53110.pbm</bitmap>
  24098.     <cantDelete> <false /> </cantDelete>
  24099.     <showPict> <true /> </showPict>
  24100.     <dontSearch> <false /> </dontSearch>
  24101.     <owner>46925</owner>
  24102.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  24103.     <part>
  24104.         <id>1</id>
  24105.         <type>field</type>
  24106.         <visible> <true /> </visible>
  24107.         <dontWrap> <false /> </dontWrap>
  24108.         <dontSearch> <false /> </dontSearch>
  24109.         <sharedText> <false /> </sharedText>
  24110.         <fixedLineHeight> <true /> </fixedLineHeight>
  24111.         <autoTab> <false /> </autoTab>
  24112.         <lockText> <true /> </lockText>
  24113.         <rect>
  24114.             <left>69</left>
  24115.             <top>68</top>
  24116.             <right>434</right>
  24117.             <bottom>252</bottom>
  24118.         </rect>
  24119.         <style>scrolling</style>
  24120.         <autoSelect> <false /> </autoSelect>
  24121.         <showLines> <false /> </showLines>
  24122.         <wideMargins> <false /> </wideMargins>
  24123.         <multipleLines> <false /> </multipleLines>
  24124.         <reservedFamily> 0 </reservedFamily>
  24125.         <titleWidth>0</titleWidth>
  24126.         <icon>0</icon>
  24127.         <textAlign>left</textAlign>
  24128.         <font>Geneva</font>
  24129.         <textSize>9</textSize>
  24130.         <textStyle>plain</textStyle>
  24131.         <textHeight>12</textHeight>
  24132.         <name>Text</name>
  24133.         <script></script>
  24134.     </part>
  24135.     <part>
  24136.         <id>2</id>
  24137.         <type>button</type>
  24138.         <visible> <true /> </visible>
  24139.         <reserved5> 0 </reserved5>
  24140.         <reserved4> 0 </reserved4>
  24141.         <reserved3> 0 </reserved3>
  24142.         <reserved2> 0 </reserved2>
  24143.         <reserved1> 0 </reserved1>
  24144.         <enabled> <true /> </enabled>
  24145.         <rect>
  24146.             <left>174</left>
  24147.             <top>281</top>
  24148.             <right>343</right>
  24149.             <bottom>311</bottom>
  24150.         </rect>
  24151.         <style>roundrect</style>
  24152.         <showName> <true /> </showName>
  24153.         <highlight> <false /> </highlight>
  24154.         <autoHighlight> <true /> </autoHighlight>
  24155.         <sharedHighlight> <true /> </sharedHighlight>
  24156.         <family>0</family>
  24157.         <titleWidth>0</titleWidth>
  24158.         <icon>0</icon>
  24159.         <textAlign>center</textAlign>
  24160.         <font>Geneva</font>
  24161.         <textSize>12</textSize>
  24162.         <textStyle>plain</textStyle>
  24163.         <name>SelectFile</name>
  24164.         <script>on mouseUp
  24165. answer SelectFile("STAK,TEXT")
  24166. end mouseUp
  24167. </script>
  24168.     </part>
  24169.     <content>
  24170.         <layer>card</layer>
  24171.         <id>1</id>
  24172.         <text>
  24173.  
  24174.                                             SelectFile 1.0
  24175.  
  24176.                                         by Fr├⌐d├⌐ric RINALDI
  24177.  
  24178.  
  24179. DESCRIPTION
  24180. ------------
  24181.   SelectFile provides a dialog allowing to choose a file (SFGetFile). Not anymore required with HC2.0 which includes this feature.
  24182.  
  24183.  
  24184. SYNTAX
  24185. -------
  24186.                       SelectFile([<type1ΓǪ[,type4]>][,<prompt>])
  24187.  
  24188.  
  24189. PARAMETERS
  24190. ------------
  24191.    <type1ΓǪ[,type4]> is a 1 to 4 items string for filtering the displayed files according to their type.
  24192.  
  24193.    <prompt> is the message appearing in the dialog.
  24194.  
  24195.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  24196.  
  24197.  
  24198. USING
  24199. -----
  24200.    The XFCN returns the full pathame of choosen file.
  24201.    An empty string is returned if the user clicked on Cancel.
  24202.    Although working fine with both System 6 and System 7, FullSFPack is better suited for the latter, due in part to alias handling.
  24203.  
  24204.  
  24205. ERRORS
  24206. -------
  24207. If an error occurs, SelectFile can return :
  24208.      "Error : Missing DLOG/DITL resource(s)"
  24209.  
  24210.  
  24211. HISTORY
  24212. --------
  24213. 1.0                                                                                        17/07/92
  24214. ΓÇó First public release
  24215. </text>
  24216.     </content>
  24217.     <name></name>
  24218.     <script></script>
  24219. </card>
  24220.  
  24221.  
  24222. card_41187.xml
  24223. <?xml version="1.0" encoding="utf-8" ?>
  24224. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  24225. <card>
  24226.     <id>41187</id>
  24227.     <filler1>0</filler1>
  24228.     <bitmap>BMAP_41234.pbm</bitmap>
  24229.     <cantDelete> <false /> </cantDelete>
  24230.     <showPict> <true /> </showPict>
  24231.     <dontSearch> <false /> </dontSearch>
  24232.     <owner>46925</owner>
  24233.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  24234.     <part>
  24235.         <id>1</id>
  24236.         <type>field</type>
  24237.         <visible> <true /> </visible>
  24238.         <dontWrap> <false /> </dontWrap>
  24239.         <dontSearch> <false /> </dontSearch>
  24240.         <sharedText> <false /> </sharedText>
  24241.         <fixedLineHeight> <true /> </fixedLineHeight>
  24242.         <autoTab> <false /> </autoTab>
  24243.         <lockText> <true /> </lockText>
  24244.         <rect>
  24245.             <left>69</left>
  24246.             <top>68</top>
  24247.             <right>434</right>
  24248.             <bottom>252</bottom>
  24249.         </rect>
  24250.         <style>scrolling</style>
  24251.         <autoSelect> <false /> </autoSelect>
  24252.         <showLines> <false /> </showLines>
  24253.         <wideMargins> <false /> </wideMargins>
  24254.         <multipleLines> <false /> </multipleLines>
  24255.         <reservedFamily> 0 </reservedFamily>
  24256.         <titleWidth>0</titleWidth>
  24257.         <icon>0</icon>
  24258.         <textAlign>left</textAlign>
  24259.         <font>Geneva</font>
  24260.         <textSize>9</textSize>
  24261.         <textStyle>plain</textStyle>
  24262.         <textHeight>12</textHeight>
  24263.         <name></name>
  24264.         <script></script>
  24265.     </part>
  24266.     <part>
  24267.         <id>25</id>
  24268.         <type>button</type>
  24269.         <visible> <true /> </visible>
  24270.         <reserved5> 0 </reserved5>
  24271.         <reserved4> 0 </reserved4>
  24272.         <reserved3> 0 </reserved3>
  24273.         <reserved2> 0 </reserved2>
  24274.         <reserved1> 0 </reserved1>
  24275.         <enabled> <true /> </enabled>
  24276.         <rect>
  24277.             <left>346</left>
  24278.             <top>280</top>
  24279.             <right>478</right>
  24280.             <bottom>317</bottom>
  24281.         </rect>
  24282.         <style>roundrect</style>
  24283.         <showName> <true /> </showName>
  24284.         <highlight> <false /> </highlight>
  24285.         <autoHighlight> <true /> </autoHighlight>
  24286.         <sharedHighlight> <true /> </sharedHighlight>
  24287.         <family>0</family>
  24288.         <titleWidth>0</titleWidth>
  24289.         <icon>0</icon>
  24290.         <textAlign>center</textAlign>
  24291.         <font>Geneva</font>
  24292.         <textSize>12</textSize>
  24293.         <textStyle>plain</textStyle>
  24294.         <name>SendPS</name>
  24295.         <script>on mouseUp
  24296. answer "Send :" with "Cancel" or "Field" or "File"
  24297. if it is "File"
  24298. then
  24299. get FilePath("TEXT","PostScript file :")
  24300. if it is empty then exit mouseUp
  24301. SendPS it
  24302. else SendPS cd fld 4
  24303. end mouseUp
  24304. </script>
  24305.     </part>
  24306.     <part>
  24307.         <id>26</id>
  24308.         <type>field</type>
  24309.         <visible> <false /> </visible>
  24310.         <dontWrap> <false /> </dontWrap>
  24311.         <dontSearch> <false /> </dontSearch>
  24312.         <sharedText> <false /> </sharedText>
  24313.         <fixedLineHeight> <true /> </fixedLineHeight>
  24314.         <autoTab> <false /> </autoTab>
  24315.         <lockText> <true /> </lockText>
  24316.         <rect>
  24317.             <left>98</left>
  24318.             <top>87</top>
  24319.             <right>408</right>
  24320.             <bottom>222</bottom>
  24321.         </rect>
  24322.         <style>shadow</style>
  24323.         <autoSelect> <false /> </autoSelect>
  24324.         <showLines> <false /> </showLines>
  24325.         <wideMargins> <true /> </wideMargins>
  24326.         <multipleLines> <false /> </multipleLines>
  24327.         <reservedFamily> 0 </reservedFamily>
  24328.         <titleWidth>0</titleWidth>
  24329.         <icon>0</icon>
  24330.         <textAlign>left</textAlign>
  24331.         <font>Geneva</font>
  24332.         <textSize>12</textSize>
  24333.         <textStyle>plain</textStyle>
  24334.         <textHeight>16</textHeight>
  24335.         <name></name>
  24336.         <script>on mouseUp
  24337. hide cd fld 3
  24338. hide cd fld 2
  24339. end mouseUp</script>
  24340.     </part>
  24341.     <part>
  24342.         <id>27</id>
  24343.         <type>field</type>
  24344.         <visible> <false /> </visible>
  24345.         <dontWrap> <false /> </dontWrap>
  24346.         <dontSearch> <false /> </dontSearch>
  24347.         <sharedText> <false /> </sharedText>
  24348.         <fixedLineHeight> <true /> </fixedLineHeight>
  24349.         <autoTab> <false /> </autoTab>
  24350.         <lockText> <true /> </lockText>
  24351.         <rect>
  24352.             <left>179</left>
  24353.             <top>107</top>
  24354.             <right>381</right>
  24355.             <bottom>207</bottom>
  24356.         </rect>
  24357.         <style>transparent</style>
  24358.         <autoSelect> <false /> </autoSelect>
  24359.         <showLines> <false /> </showLines>
  24360.         <wideMargins> <false /> </wideMargins>
  24361.         <multipleLines> <false /> </multipleLines>
  24362.         <reservedFamily> 0 </reservedFamily>
  24363.         <titleWidth>0</titleWidth>
  24364.         <icon>0</icon>
  24365.         <textAlign>left</textAlign>
  24366.         <font>Geneva</font>
  24367.         <textSize>10</textSize>
  24368.         <textStyle>plain</textStyle>
  24369.         <textHeight>16</textHeight>
  24370.         <name></name>
  24371.         <script>on mouseUp
  24372. hide cd fld 3
  24373. hide cd fld 2
  24374. end mouseUp</script>
  24375.     </part>
  24376.     <part>
  24377.         <id>28</id>
  24378.         <type>field</type>
  24379.         <visible> <true /> </visible>
  24380.         <dontWrap> <false /> </dontWrap>
  24381.         <dontSearch> <false /> </dontSearch>
  24382.         <sharedText> <false /> </sharedText>
  24383.         <fixedLineHeight> <true /> </fixedLineHeight>
  24384.         <autoTab> <false /> </autoTab>
  24385.         <lockText> <true /> </lockText>
  24386.         <rect>
  24387.             <left>0</left>
  24388.             <top>275</top>
  24389.             <right>320</right>
  24390.             <bottom>342</bottom>
  24391.         </rect>
  24392.         <style>scrolling</style>
  24393.         <autoSelect> <false /> </autoSelect>
  24394.         <showLines> <false /> </showLines>
  24395.         <wideMargins> <false /> </wideMargins>
  24396.         <multipleLines> <false /> </multipleLines>
  24397.         <reservedFamily> 0 </reservedFamily>
  24398.         <titleWidth>0</titleWidth>
  24399.         <icon>0</icon>
  24400.         <textAlign>left</textAlign>
  24401.         <font>Geneva</font>
  24402.         <textSize>9</textSize>
  24403.         <textStyle>plain</textStyle>
  24404.         <textHeight>12</textHeight>
  24405.         <name></name>
  24406.         <script></script>
  24407.     </part>
  24408.     <part>
  24409.         <id>32</id>
  24410.         <type>field</type>
  24411.         <visible> <true /> </visible>
  24412.         <dontWrap> <false /> </dontWrap>
  24413.         <dontSearch> <false /> </dontSearch>
  24414.         <sharedText> <false /> </sharedText>
  24415.         <fixedLineHeight> <true /> </fixedLineHeight>
  24416.         <autoTab> <false /> </autoTab>
  24417.         <lockText> <true /> </lockText>
  24418.         <rect>
  24419.             <left>0</left>
  24420.             <top>258</top>
  24421.             <right>320</right>
  24422.             <bottom>276</bottom>
  24423.         </rect>
  24424.         <style>rectangle</style>
  24425.         <autoSelect> <false /> </autoSelect>
  24426.         <showLines> <false /> </showLines>
  24427.         <wideMargins> <false /> </wideMargins>
  24428.         <multipleLines> <false /> </multipleLines>
  24429.         <reservedFamily> 0 </reservedFamily>
  24430.         <titleWidth>0</titleWidth>
  24431.         <icon>0</icon>
  24432.         <textAlign>center</textAlign>
  24433.         <font>Geneva</font>
  24434.         <textSize>12</textSize>
  24435.         <textStyle>plain</textStyle>
  24436.         <textHeight>16</textHeight>
  24437.         <name></name>
  24438.         <script></script>
  24439.     </part>
  24440.     <content>
  24441.         <layer>card</layer>
  24442.         <id>26</id>
  24443.         <text>
  24444. CPU
  24445. System
  24446. Processor
  24447. FPU
  24448. ColoQD
  24449. Keyboard</text>
  24450.     </content>
  24451.     <content>
  24452.         <layer>card</layer>
  24453.         <id>27</id>
  24454.         <text>Macintosh IIx
  24455. 6.4
  24456. MC68030
  24457. true
  24458. true
  24459. Apple Extended keyboard</text>
  24460.     </content>
  24461.     <content>
  24462.         <layer>card</layer>
  24463.         <id>32</id>
  24464.         <text>Sample</text>
  24465.     </content>
  24466.     <content>
  24467.         <layer>card</layer>
  24468.         <id>1</id>
  24469.         <text>
  24470.                                                  SendPS 1.3
  24471.  
  24472.                                     ┬⌐ G. Kruckewitt & F. Rinaldi
  24473.  
  24474.  
  24475. DESCRIPTION
  24476. ------------
  24477.    SendPS allows to send PostScript datas to a LaserWriter over AppleTalk.
  24478.  
  24479.  
  24480. SYNTAX
  24481. ---------
  24482.        SendPS <container or pathname> [,<page setup> [,<print dialog>]]
  24483.  
  24484. PARAMETERS
  24485. ------------
  24486.  
  24487.    <container or pathname> can be either any valid container of HyperTalk, or the full pathname of a Postscript file. In the second case, a single name assumes the file is in the same folder than the current stack.
  24488.  
  24489.    <page setup> is a boolean allowing to get the page setup dialog. Default is FALSE.
  24490.  
  24491.    <print dialog> is a boolean allowing to get the printing dialog. Default is FALSE.
  24492.  
  24493.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  24494.  
  24495.  
  24496. USING
  24497. ------
  24498.  
  24499.    If an error occurs, the Result can contain :
  24500.  
  24501.      "Error : Not a file"
  24502.      "Error : Not a folder"
  24503.      "Error : Alias file not supported"
  24504.      "Error : Volume not found"
  24505.      "Error : Bad Name"
  24506.      "Error : File not found"
  24507.      "Error : Folder not found"
  24508.      "Error : File is busy"
  24509.      "Error : I/O Error"
  24510.      "Error : Folder is full"
  24511.      "Error : Volume is locked"
  24512.      "Error : No resource fork"
  24513.      "Error : Duplicate file/folder name"
  24514.      "Error : Moving whole volume not allowed"
  24515.      "Error : Not an AppleShare volume"
  24516.      "Error : AppleShare insufficient privileges"
  24517.      "Error : Missing parameter"
  24518.      "Error : Could't allocate file buffer"
  24519.      "Error : Second param must be boolean"
  24520.      "Error : Third param must be boolean"
  24521.      "Error : Out of memory"
  24522.  
  24523.  
  24524.  
  24525. HISTORY
  24526. ----------
  24527. 1.0 :  first release
  24528. 1.1 :  use of spooler is allowed
  24529.          blank trailing page removed when using a spooler
  24530.          suppression de la page blanche en cas d'utilisation de spooler
  24531. 1.2 :  size of datas to be send can exceed 32 kb.
  24532. 1.3 :                                                                                          08/04/91
  24533. ΓÇó Added support for System 7.0 alias files
  24534. ΓÇó General enhancement of the code
  24535. ΓÇó Added "=" param for online help
  24536.  
  24537.  
  24538. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.)
  24539. --------------------------------------------------------------------
  24540.  
  24541.    This XCMD is copyrighted, and cannot be used in any way without the express permission of both authors.
  24542.    Special use permission given for "Apple Utilisateur" and "Developer's CD"
  24543.  
  24544.                         ┬⌐ G. KRUCKEWITT & F. RINALDI 1990,1991
  24545.  
  24546. AppleLink: RINALDI1        Calvacom : FR10        Compuserve : 71170,2111
  24547. </text>
  24548.     </content>
  24549.     <content>
  24550.         <layer>card</layer>
  24551.         <id>28</id>
  24552.         <text>%!    star name demo  Ivar Michelsons - Adobe Systems, Inc.
  24553. /firstname (Adobe) def
  24554. /lastname (Systems) def
  24555.  
  24556. /inch {72 mul} def
  24557.  
  24558. /LM 2 inch def
  24559. /RM 6.5 inch def
  24560. /TM 9 inch def
  24561. /BM 5 inch def
  24562.  
  24563. /newline
  24564. {currentpoint 13 sub
  24565. exch pop LM
  24566. exch moveto} def
  24567.  
  24568. /linewrap
  24569. {currentpoint pop RM gt {newline} if} def
  24570.  
  24571. /done?% return stack: boolean
  24572. {currentpoint exch pop BM lt} def
  24573.  
  24574. /starside
  24575. {4 inch 0 lineto
  24576. currentpoint translate
  24577. -144 rotate} def
  24578.  
  24579. /star% stack: x y
  24580. {moveto
  24581. currentpoint translate
  24582. 4 {starside} repeat
  24583. closepath
  24584. gsave
  24585. 0 setgray fill
  24586. grestore} def
  24587.  
  24588. /Times-Bold findfont 11 scalefont setfont
  24589. gsave
  24590. 2.25 inch 7.53 inch star
  24591. currentpoint translate
  24592. -144 rotate
  24593. -2.25 inch -7.53 inch translate
  24594. LM TM moveto
  24595. 1 setgray
  24596. {{pop pop linewrap} firstname kshow
  24597.  ( ) show
  24598.  {pop pop linewrap} lastname kshow
  24599.  ( ) show
  24600.   done? {exit} if
  24601.  } loop
  24602. grestore
  24603.  
  24604.  
  24605. showpage
  24606. </text>
  24607.     </content>
  24608.     <name>SendPS 1.3</name>
  24609.     <script>
  24610.  
  24611.  
  24612.  
  24613. on opencard
  24614. end opencard
  24615.  
  24616. on closeCard
  24617. hide cd fld 3
  24618. hide cd fld 2
  24619. end closeCard
  24620.  
  24621. </script>
  24622. </card>
  24623.  
  24624.  
  24625. card_41535.xml
  24626. <?xml version="1.0" encoding="utf-8" ?>
  24627. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  24628. <card>
  24629.     <id>41535</id>
  24630.     <filler1>0</filler1>
  24631.     <bitmap>BMAP_41952.pbm</bitmap>
  24632.     <cantDelete> <false /> </cantDelete>
  24633.     <showPict> <true /> </showPict>
  24634.     <dontSearch> <false /> </dontSearch>
  24635.     <owner>46925</owner>
  24636.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  24637.     <part>
  24638.         <id>1</id>
  24639.         <type>field</type>
  24640.         <visible> <true /> </visible>
  24641.         <dontWrap> <false /> </dontWrap>
  24642.         <dontSearch> <false /> </dontSearch>
  24643.         <sharedText> <false /> </sharedText>
  24644.         <fixedLineHeight> <true /> </fixedLineHeight>
  24645.         <autoTab> <false /> </autoTab>
  24646.         <lockText> <true /> </lockText>
  24647.         <rect>
  24648.             <left>69</left>
  24649.             <top>68</top>
  24650.             <right>434</right>
  24651.             <bottom>252</bottom>
  24652.         </rect>
  24653.         <style>scrolling</style>
  24654.         <autoSelect> <false /> </autoSelect>
  24655.         <showLines> <false /> </showLines>
  24656.         <wideMargins> <false /> </wideMargins>
  24657.         <multipleLines> <false /> </multipleLines>
  24658.         <reservedFamily> 0 </reservedFamily>
  24659.         <titleWidth>0</titleWidth>
  24660.         <icon>0</icon>
  24661.         <textAlign>left</textAlign>
  24662.         <font>Geneva</font>
  24663.         <textSize>9</textSize>
  24664.         <textStyle>plain</textStyle>
  24665.         <textHeight>12</textHeight>
  24666.         <name></name>
  24667.         <script></script>
  24668.     </part>
  24669.     <part>
  24670.         <id>25</id>
  24671.         <type>button</type>
  24672.         <visible> <true /> </visible>
  24673.         <reserved5> 0 </reserved5>
  24674.         <reserved4> 0 </reserved4>
  24675.         <reserved3> 0 </reserved3>
  24676.         <reserved2> 0 </reserved2>
  24677.         <reserved1> 0 </reserved1>
  24678.         <enabled> <true /> </enabled>
  24679.         <rect>
  24680.             <left>201</left>
  24681.             <top>278</top>
  24682.             <right>346</right>
  24683.             <bottom>316</bottom>
  24684.         </rect>
  24685.         <style>roundrect</style>
  24686.         <showName> <true /> </showName>
  24687.         <highlight> <false /> </highlight>
  24688.         <autoHighlight> <true /> </autoHighlight>
  24689.         <sharedHighlight> <true /> </sharedHighlight>
  24690.         <family>0</family>
  24691.         <titleWidth>0</titleWidth>
  24692.         <icon>0</icon>
  24693.         <textAlign>center</textAlign>
  24694.         <font>Geneva</font>
  24695.         <textSize>12</textSize>
  24696.         <textStyle>plain</textStyle>
  24697.         <name>SetFileFlag</name>
  24698.         <script>on mouseUp
  24699. get FilePath(empty,"File to change :")
  24700. if it is empty then exit mouseUp
  24701. put it into TheFile
  24702. ask "Name of the flag :"
  24703. if it is empty then exit mouseUp
  24704. put it into TheFlag
  24705. answer "Set ΓÇ£" & theFlag & "ΓÇ¥ to :" with "Cancel" or "False" or "True"
  24706. if it is "Cancel" then exit mouseUp
  24707. SetFileFlag TheFile,TheFlag,it
  24708. if The Result Γëá empty
  24709. then answer the Result
  24710. else answer TheFlag && "flag is now set to" && it
  24711. end mouseUp
  24712. </script>
  24713.     </part>
  24714.     <part>
  24715.         <id>29</id>
  24716.         <type>field</type>
  24717.         <visible> <false /> </visible>
  24718.         <dontWrap> <false /> </dontWrap>
  24719.         <dontSearch> <false /> </dontSearch>
  24720.         <sharedText> <false /> </sharedText>
  24721.         <fixedLineHeight> <true /> </fixedLineHeight>
  24722.         <autoTab> <false /> </autoTab>
  24723.         <lockText> <true /> </lockText>
  24724.         <rect>
  24725.             <left>165</left>
  24726.             <top>24</top>
  24727.             <right>337</right>
  24728.             <bottom>289</bottom>
  24729.         </rect>
  24730.         <style>shadow</style>
  24731.         <autoSelect> <false /> </autoSelect>
  24732.         <showLines> <true /> </showLines>
  24733.         <wideMargins> <true /> </wideMargins>
  24734.         <multipleLines> <false /> </multipleLines>
  24735.         <reservedFamily> 0 </reservedFamily>
  24736.         <titleWidth>0</titleWidth>
  24737.         <icon>0</icon>
  24738.         <textAlign>left</textAlign>
  24739.         <font>Geneva</font>
  24740.         <textSize>9</textSize>
  24741.         <textStyle>bold</textStyle>
  24742.         <textHeight>11</textHeight>
  24743.         <name></name>
  24744.         <script>on mouseUp
  24745. hide cd fld 2
  24746. hide cd fld 3
  24747. end mouseUp</script>
  24748.     </part>
  24749.     <part>
  24750.         <id>30</id>
  24751.         <type>field</type>
  24752.         <visible> <false /> </visible>
  24753.         <dontWrap> <false /> </dontWrap>
  24754.         <dontSearch> <false /> </dontSearch>
  24755.         <sharedText> <false /> </sharedText>
  24756.         <fixedLineHeight> <true /> </fixedLineHeight>
  24757.         <autoTab> <false /> </autoTab>
  24758.         <lockText> <false /> </lockText>
  24759.         <rect>
  24760.             <left>258</left>
  24761.             <top>24</top>
  24762.             <right>335</right>
  24763.             <bottom>289</bottom>
  24764.         </rect>
  24765.         <style>transparent</style>
  24766.         <autoSelect> <false /> </autoSelect>
  24767.         <showLines> <true /> </showLines>
  24768.         <wideMargins> <true /> </wideMargins>
  24769.         <multipleLines> <false /> </multipleLines>
  24770.         <reservedFamily> 0 </reservedFamily>
  24771.         <titleWidth>0</titleWidth>
  24772.         <icon>0</icon>
  24773.         <textAlign>left</textAlign>
  24774.         <font>Geneva</font>
  24775.         <textSize>9</textSize>
  24776.         <textStyle>plain</textStyle>
  24777.         <textHeight>11</textHeight>
  24778.         <name></name>
  24779.         <script>on mouseUp
  24780. hide cd fld 2
  24781. hide cd fld 3
  24782. end mouseUp</script>
  24783.     </part>
  24784.     <content>
  24785.         <layer>card</layer>
  24786.         <id>1</id>
  24787.         <text>
  24788.                                              SetFileFlag 1.1
  24789.  
  24790.                                          by Fr├⌐d├⌐ric RINALDI
  24791.  
  24792.  
  24793. DESCRIPTION
  24794. ------------
  24795.   SetFileFlag is an XCMD allowing to change the value of the authorized Finder flags of a file.
  24796.  
  24797.  
  24798. SYNTAX
  24799. -------
  24800.       SetFileFlag <file path or name>,<flag name>[,<flag state>]
  24801.                         [,"DontResolveAlias"]
  24802.  
  24803.  
  24804. PARAMETERS
  24805. ------------
  24806.  
  24807.    <file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  24808.  
  24809.    <flag name> must be one of the following string values (accepted System 7.0 values are enclosed in brackets) :
  24810.             busy (hasCustomIcon), noCopy (isStationery), hasBundle,
  24811.             System  (nameLocked), invisible (isInvisible)
  24812.  
  24813.    <flag state> is a boolean defining the desired state of the choosen flag. Default value is TRUE.
  24814.  
  24815.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  24816.  
  24817.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  24818.  
  24819.  
  24820. USING
  24821. -----
  24822.    If an error occurs, the XCMD will return in the Result :
  24823.  
  24824.      "Error : Not a file"
  24825.      "Error : Not a folder"
  24826.      "Error : Alias file not supported"
  24827.      "Error : Volume not found"
  24828.      "Error : Bad Name"
  24829.      "Error : File not found"
  24830.      "Error : Folder not found"
  24831.      "Error : File is busy"
  24832.      "Error : I/O Error"
  24833.      "Error : Folder is full"
  24834.      "Error : Volume is locked"
  24835.      "Error : No resource fork"
  24836.      "Error : Duplicate file/folder name"
  24837.      "Error : Moving whole volume not allowed"
  24838.      "Error : Not an AppleShare volume"
  24839.      "Error : AppleShare insufficient privileges"
  24840.      "Error : Missing or empty parameter(s)"
  24841.      "Error : Bad param #X"
  24842.      "Error : Bad or unauthorized flag name"
  24843.  
  24844.  
  24845. HISTORY
  24846. --------
  24847. 1.1 :                                                                                          08/04/91
  24848. ΓÇó Added support for System 7.0 alias files
  24849. ΓÇó General enhancement of the code
  24850. ΓÇó Added "DontResolveAlias" parameter
  24851. ΓÇó Added "=" param for online help
  24852.  
  24853.  
  24854. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.)
  24855. </text>
  24856.     </content>
  24857.     <content>
  24858.         <layer>card</layer>
  24859.         <id>29</id>
  24860.         <text>type
  24861. creator
  24862. création
  24863. modification
  24864. taille
  24865. data fork
  24866. resource fork
  24867. onDesk
  24868. bFOwnAppl
  24869. réservé
  24870. réservé
  24871. bfNever
  24872. bfAlways
  24873. shareable
  24874. réservé
  24875. Inited
  24876. Changed
  24877. Busy
  24878. NoCopy
  24879. System
  24880. hasBundle
  24881. Invisible
  24882. Locked
  24883.  
  24884. </text>
  24885.     </content>
  24886.     <content>
  24887.         <layer>card</layer>
  24888.         <id>30</id>
  24889.         <text>TEXT
  24890. MPS 
  24891. 14/03/90
  24892. 13/03/90
  24893. 8586
  24894. 7090
  24895. 1496
  24896. false
  24897. false
  24898. false
  24899. false
  24900. false
  24901. false
  24902. false
  24903. false
  24904. true
  24905. false
  24906. false
  24907. false
  24908. false
  24909. false
  24910. false
  24911. false</text>
  24912.     </content>
  24913.     <name>SetFileFlag 1.1</name>
  24914.     <script>
  24915.  
  24916.  
  24917.  
  24918. on opencard
  24919. end opencard
  24920.  
  24921. on closeCard
  24922. hide cd fld 3
  24923. hide cd fld 2
  24924. end closeCard
  24925.  
  24926. </script>
  24927. </card>
  24928.  
  24929.  
  24930. card_42042.xml
  24931. <?xml version="1.0" encoding="utf-8" ?>
  24932. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  24933. <card>
  24934.     <id>42042</id>
  24935.     <filler1>0</filler1>
  24936.     <bitmap>BMAP_42348.pbm</bitmap>
  24937.     <cantDelete> <false /> </cantDelete>
  24938.     <showPict> <true /> </showPict>
  24939.     <dontSearch> <false /> </dontSearch>
  24940.     <owner>46925</owner>
  24941.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  24942.     <part>
  24943.         <id>1</id>
  24944.         <type>field</type>
  24945.         <visible> <true /> </visible>
  24946.         <dontWrap> <false /> </dontWrap>
  24947.         <dontSearch> <false /> </dontSearch>
  24948.         <sharedText> <false /> </sharedText>
  24949.         <fixedLineHeight> <true /> </fixedLineHeight>
  24950.         <autoTab> <false /> </autoTab>
  24951.         <lockText> <true /> </lockText>
  24952.         <rect>
  24953.             <left>69</left>
  24954.             <top>68</top>
  24955.             <right>434</right>
  24956.             <bottom>252</bottom>
  24957.         </rect>
  24958.         <style>scrolling</style>
  24959.         <autoSelect> <false /> </autoSelect>
  24960.         <showLines> <false /> </showLines>
  24961.         <wideMargins> <false /> </wideMargins>
  24962.         <multipleLines> <false /> </multipleLines>
  24963.         <reservedFamily> 0 </reservedFamily>
  24964.         <titleWidth>0</titleWidth>
  24965.         <icon>0</icon>
  24966.         <textAlign>left</textAlign>
  24967.         <font>Geneva</font>
  24968.         <textSize>9</textSize>
  24969.         <textStyle>plain</textStyle>
  24970.         <textHeight>12</textHeight>
  24971.         <name></name>
  24972.         <script></script>
  24973.     </part>
  24974.     <part>
  24975.         <id>5</id>
  24976.         <type>button</type>
  24977.         <visible> <true /> </visible>
  24978.         <reserved5> 0 </reserved5>
  24979.         <reserved4> 0 </reserved4>
  24980.         <reserved3> 0 </reserved3>
  24981.         <reserved2> 0 </reserved2>
  24982.         <reserved1> 0 </reserved1>
  24983.         <enabled> <true /> </enabled>
  24984.         <rect>
  24985.             <left>174</left>
  24986.             <top>281</top>
  24987.             <right>343</right>
  24988.             <bottom>311</bottom>
  24989.         </rect>
  24990.         <style>roundrect</style>
  24991.         <showName> <true /> </showName>
  24992.         <highlight> <false /> </highlight>
  24993.         <autoHighlight> <true /> </autoHighlight>
  24994.         <sharedHighlight> <true /> </sharedHighlight>
  24995.         <family>0</family>
  24996.         <titleWidth>0</titleWidth>
  24997.         <icon>0</icon>
  24998.         <textAlign>center</textAlign>
  24999.         <font>Geneva</font>
  25000.         <textSize>12</textSize>
  25001.         <textStyle>plain</textStyle>
  25002.         <name>SetFinderLock</name>
  25003.         <script>on mouseUp
  25004. put FilePath(empty,"File to change :") into File
  25005. if File Γëá empty
  25006. then
  25007. answer "Change :" with "Unlock" or "Lock"
  25008. SetFinderLock File,(it is "Lock")
  25009. if the Result Γëá empty
  25010. then answer the Result
  25011. end if
  25012. end mouseUp
  25013. </script>
  25014.     </part>
  25015.     <content>
  25016.         <layer>card</layer>
  25017.         <id>1</id>
  25018.         <text>
  25019.  
  25020.                                             SetFinderLock 1.1
  25021.  
  25022.                                           by Fr├⌐d├⌐ric RINALDI
  25023.  
  25024.  
  25025. DESCRIPTION
  25026. ------------
  25027.   SetFinderLock XCMD allows to lock/unlock a file (Finder info checkbox).
  25028.  
  25029.  
  25030. SYNTAX
  25031. --------
  25032.        SetFinderLock <file path or name>[,<locked>][,"DontResolveAlias"]
  25033.  
  25034.  
  25035. PARAMETERS
  25036. ------------
  25037.  
  25038.    <file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  25039.  
  25040.    <locked> is a boolean defining the lock state. Default is TRUE.
  25041.  
  25042.    "dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
  25043.  
  25044.    Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
  25045.  
  25046.  
  25047. USING
  25048. -----
  25049. If an error occurs, SetFinderLock can return :
  25050.  
  25051.      "Error : Not a file"
  25052.      "Error : Not a folder"
  25053.      "Error : Alias file not supported"
  25054.      "Error : Volume not found"
  25055.      "Error : Bad Name"
  25056.      "Error : File not found"
  25057.      "Error : Folder not found"
  25058.      "Error : File is busy"
  25059.      "Error : I/O Error"
  25060.      "Error : Folder is full"
  25061.      "Error : Volume is locked"
  25062.      "Error : No resource fork"
  25063.      "Error : Duplicate file/folder name"
  25064.      "Error : Moving whole volume not allowed"
  25065.      "Error : Not an AppleShare volume"
  25066.      "Error : AppleShare insufficient privileges"
  25067.      "Error : Missing or empty parameter"
  25068.      "Error : Bad param #X"
  25069.  
  25070. HISTORY
  25071. --------
  25072. 1.1 :                                                                                          08/04/91
  25073. ΓÇó Added support for System 7.0 alias files
  25074. ΓÇó General enhancement of the code
  25075. ΓÇó Added "DontResolveAlias" parameter
  25076. ΓÇó Added "=" param for online help
  25077.  
  25078.  
  25079. This stack uses FilePath  XFCN (┬⌐ 1898, 1990 Apple Computer, Inc.)
  25080. </text>
  25081.     </content>
  25082.     <name>SetFinderLock 1.1</name>
  25083.     <script>
  25084.  
  25085.  
  25086.  
  25087. on opencard
  25088. end opencard
  25089.  
  25090. on closeCard
  25091. end closeCard
  25092.  
  25093. </script>
  25094. </card>
  25095.  
  25096.  
  25097. card_42655.xml
  25098. <?xml version="1.0" encoding="utf-8" ?>
  25099. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  25100. <card>
  25101.     <id>42655</id>
  25102.     <filler1>0</filler1>
  25103.     <bitmap>BMAP_42838.pbm</bitmap>
  25104.     <cantDelete> <false /> </cantDelete>
  25105.     <showPict> <true /> </showPict>
  25106.     <dontSearch> <false /> </dontSearch>
  25107.     <owner>46925</owner>
  25108.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  25109.     <part>
  25110.         <id>1</id>
  25111.         <type>field</type>
  25112.         <visible> <true /> </visible>
  25113.         <dontWrap> <false /> </dontWrap>
  25114.         <dontSearch> <false /> </dontSearch>
  25115.         <sharedText> <false /> </sharedText>
  25116.         <fixedLineHeight> <true /> </fixedLineHeight>
  25117.         <autoTab> <false /> </autoTab>
  25118.         <lockText> <true /> </lockText>
  25119.         <rect>
  25120.             <left>69</left>
  25121.             <top>68</top>
  25122.             <right>434</right>
  25123.             <bottom>252</bottom>
  25124.         </rect>
  25125.         <style>scrolling</style>
  25126.         <autoSelect> <false /> </autoSelect>
  25127.         <showLines> <false /> </showLines>
  25128.         <wideMargins> <false /> </wideMargins>
  25129.         <multipleLines> <false /> </multipleLines>
  25130.         <reservedFamily> 0 </reservedFamily>
  25131.         <titleWidth>0</titleWidth>
  25132.         <icon>0</icon>
  25133.         <textAlign>left</textAlign>
  25134.         <font>Geneva</font>
  25135.         <textSize>9</textSize>
  25136.         <textStyle>plain</textStyle>
  25137.         <textHeight>12</textHeight>
  25138.         <name></name>
  25139.         <script></script>
  25140.     </part>
  25141.     <part>
  25142.         <id>5</id>
  25143.         <type>button</type>
  25144.         <visible> <true /> </visible>
  25145.         <reserved5> 0 </reserved5>
  25146.         <reserved4> 0 </reserved4>
  25147.         <reserved3> 0 </reserved3>
  25148.         <reserved2> 0 </reserved2>
  25149.         <reserved1> 0 </reserved1>
  25150.         <enabled> <true /> </enabled>
  25151.         <rect>
  25152.             <left>174</left>
  25153.             <top>281</top>
  25154.             <right>343</right>
  25155.             <bottom>311</bottom>
  25156.         </rect>
  25157.         <style>roundrect</style>
  25158.         <showName> <true /> </showName>
  25159.         <highlight> <false /> </highlight>
  25160.         <autoHighlight> <true /> </autoHighlight>
  25161.         <sharedHighlight> <true /> </sharedHighlight>
  25162.         <family>0</family>
  25163.         <titleWidth>0</titleWidth>
  25164.         <icon>0</icon>
  25165.         <textAlign>center</textAlign>
  25166.         <font>Geneva</font>
  25167.         <textSize>12</textSize>
  25168.         <textStyle>plain</textStyle>
  25169.         <name>SetMode</name>
  25170.         <script>on mouseUp
  25171. global SavedVideo
  25172.  
  25173. answer "Video mode :" with "Cancel" or "Black" or "Color"
  25174. if it is "Cancel" then exit mouseUp
  25175. put it into Mode
  25176. ask "Video depth : (1.." & item 5 of SavedVideo & ")" with 1
  25177. if it is empty then exit mouseUp
  25178. put it into Depth
  25179. ask "Screen number : (nothing,*,1.." & number of lines of SavedVideo┬¼
  25180. & ")"
  25181.  
  25182. if it Γëá empty
  25183. then SetMode Mode,Depth,it
  25184. else SetMode Mode,Depth
  25185.  
  25186. if the Result Γëá empty
  25187. then answer the Result
  25188.  
  25189. end mouseUp
  25190. </script>
  25191.     </part>
  25192.     <content>
  25193.         <layer>card</layer>
  25194.         <id>1</id>
  25195.         <text>
  25196.                                                 SetMode 1.2
  25197.  
  25198.                                           by Fr├⌐d├⌐ric RINALDI
  25199.  
  25200.                                          IMPORTANT NOTICES
  25201.                                          -------------------
  25202. ΓÇó SetMode works only with System >= 6.0.5
  25203. ΓÇó Since changing video mode is not recommended by Apple Interface Guideli-nes, always switch back to previous mode when leaving the stack. (see stack script)
  25204.  
  25205. DESCRIPTION
  25206. ------------
  25207.   SetMode XCMD allows to switch any connected screen from one video mode and depth to another.
  25208.  
  25209.  
  25210. SYNTAX
  25211. --------
  25212.                   SetMode <B[lack]|C[olor]>,<1|2|4|8|32>[,<screen nb>]
  25213.  
  25214. PARAMETERS
  25215. ------------
  25216.    First param stands for the mode. Only first char is recognized.
  25217.  
  25218.    Param 2 is the video depth, an integer bit value.
  25219.  
  25220.    Last param is optional, and is an integer standing for the screen number (as returned by GetMode XFCN). If omitted, the changed screen will be the screen on which the card is. Using "*" will change all connected screen to the choose mode.
  25221.  
  25222.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  25223.  
  25224. USING
  25225. -----
  25226. If an error occurs, SetMode can return :
  25227.  
  25228.      "Error : Could'nt get SysEnvirons"
  25229.      "Error : XCMD needs System 6.0.5"
  25230.      "Error : Color QuickDraw not found"
  25231.      "Error : Missing parameter(s)"
  25232.      "Error : Mode param must be <B|C>"
  25233.      "Error : Depth not available on device X"
  25234.      "Error : Couldn't set depth on device X"
  25235.      "Error : Device not found"
  25236.  
  25237.  
  25238. RELEASES HISTORY
  25239. ------------------
  25240. 1.2 :
  25241. ΓÇó Fixed last minute bug
  25242.  
  25243. 1.1 :
  25244. ΓÇó Screen garbage fixed when switching to 8bit, thanks to Bill Steinberg.
  25245.  
  25246. This stack also uses GetMode XFCN, ┬⌐ Frederic RINALDI.
  25247. </text>
  25248.     </content>
  25249.     <name>SetMode 1.2</name>
  25250.     <script>
  25251.  
  25252.  
  25253.  
  25254. on opencard
  25255. global SavedVideo
  25256.  
  25257. -- sauvegarde du mode vid├⌐o courant
  25258.  
  25259. put GetMode() into SavedVideo
  25260. end opencard
  25261.  
  25262. on closeCard
  25263. global SavedVideo
  25264.  
  25265. -- restauration du mode vid├⌐o initial
  25266.  
  25267. get GetMode()
  25268. repeat with i=1 to number of lines of SavedVideo
  25269. if line i of it Γëá line i of SavedVideo
  25270. then do "SetMode" && line i of SavedVideo
  25271. end repeat
  25272. end closeCard
  25273.  
  25274. </script>
  25275. </card>
  25276.  
  25277.  
  25278. card_43137.xml
  25279. <?xml version="1.0" encoding="utf-8" ?>
  25280. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  25281. <card>
  25282.     <id>43137</id>
  25283.     <filler1>0</filler1>
  25284.     <bitmap>BMAP_43336.pbm</bitmap>
  25285.     <cantDelete> <false /> </cantDelete>
  25286.     <showPict> <true /> </showPict>
  25287.     <dontSearch> <false /> </dontSearch>
  25288.     <owner>46925</owner>
  25289.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  25290.     <part>
  25291.         <id>1</id>
  25292.         <type>field</type>
  25293.         <visible> <true /> </visible>
  25294.         <dontWrap> <false /> </dontWrap>
  25295.         <dontSearch> <false /> </dontSearch>
  25296.         <sharedText> <false /> </sharedText>
  25297.         <fixedLineHeight> <true /> </fixedLineHeight>
  25298.         <autoTab> <false /> </autoTab>
  25299.         <lockText> <true /> </lockText>
  25300.         <rect>
  25301.             <left>69</left>
  25302.             <top>68</top>
  25303.             <right>434</right>
  25304.             <bottom>252</bottom>
  25305.         </rect>
  25306.         <style>scrolling</style>
  25307.         <autoSelect> <false /> </autoSelect>
  25308.         <showLines> <false /> </showLines>
  25309.         <wideMargins> <false /> </wideMargins>
  25310.         <multipleLines> <false /> </multipleLines>
  25311.         <reservedFamily> 0 </reservedFamily>
  25312.         <titleWidth>0</titleWidth>
  25313.         <icon>0</icon>
  25314.         <textAlign>left</textAlign>
  25315.         <font>Geneva</font>
  25316.         <textSize>9</textSize>
  25317.         <textStyle>plain</textStyle>
  25318.         <textHeight>12</textHeight>
  25319.         <name></name>
  25320.         <script></script>
  25321.     </part>
  25322.     <part>
  25323.         <id>25</id>
  25324.         <type>button</type>
  25325.         <visible> <true /> </visible>
  25326.         <reserved5> 0 </reserved5>
  25327.         <reserved4> 0 </reserved4>
  25328.         <reserved3> 0 </reserved3>
  25329.         <reserved2> 0 </reserved2>
  25330.         <reserved1> 0 </reserved1>
  25331.         <enabled> <true /> </enabled>
  25332.         <rect>
  25333.             <left>201</left>
  25334.             <top>278</top>
  25335.             <right>346</right>
  25336.             <bottom>316</bottom>
  25337.         </rect>
  25338.         <style>roundrect</style>
  25339.         <showName> <true /> </showName>
  25340.         <highlight> <false /> </highlight>
  25341.         <autoHighlight> <true /> </autoHighlight>
  25342.         <sharedHighlight> <true /> </sharedHighlight>
  25343.         <family>0</family>
  25344.         <titleWidth>0</titleWidth>
  25345.         <icon>0</icon>
  25346.         <textAlign>center</textAlign>
  25347.         <font>Geneva</font>
  25348.         <textSize>12</textSize>
  25349.         <textStyle>plain</textStyle>
  25350.         <name>ShowHideFolder</name>
  25351.         <script>on mouseUp
  25352. get folderName("Select Folder to change :")
  25353. if it is empty
  25354. then exit mouseUp
  25355. put it into Folder
  25356. answer "Invisible :" with "False" or "True"
  25357. ShowHideFolder Folder,it
  25358. if the Result Γëá empty
  25359. then answer the Result
  25360. end mouseUp
  25361. </script>
  25362.     </part>
  25363.     <content>
  25364.         <layer>card</layer>
  25365.         <id>1</id>
  25366.         <text>
  25367.  
  25368.                                           ShowHideFolder 1.1
  25369.  
  25370.                                           by Fr├⌐d├⌐ric RINALDI
  25371.  
  25372.  
  25373. DESCRIPTION
  25374. ------------
  25375.   ShowHideFolder allows make a folder visible/invisible.
  25376.  
  25377. SYNTAX
  25378. --------
  25379. ShowHideFolder <folder path>,<invisible>
  25380.  
  25381. PARAMETERS
  25382. ------------
  25383.    <folder path> is the folder complete pathName, with or without trailing colon. If only a name is supplied, the folder is considered in the same folder as the current stack.
  25384.  
  25385.    <invisible> is a boolean, TRUE making the folder invisible.
  25386.  
  25387.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  25388.  
  25389. USING
  25390. -----
  25391. If an error occurs, ShowHideFolder can return :
  25392.      "Error : Not a file"
  25393.      "Error : Not a folder"
  25394.      "Error : Alias file not supported"
  25395.      "Error : Volume not found"
  25396.      "Error : Bad Name"
  25397.      "Error : File not found"
  25398.      "Error : Folder not found"
  25399.      "Error : File is busy"
  25400.      "Error : I/O Error"
  25401.      "Error : Folder is full"
  25402.      "Error : Volume is locked"
  25403.      "Error : No resource fork"
  25404.      "Error : Duplicate file/folder name"
  25405.      "Error : Moving whole volume not allowed"
  25406.      "Error : Not an AppleShare volume"
  25407.      "Error : AppleShare insufficient privileges"
  25408.      "Error : Missing or empty parameter(s)"
  25409.      "Error : Second param must be boolean"
  25410.  
  25411.  
  25412. HISTORY
  25413. --------
  25414. 1.1 :                                                                                          08/04/91
  25415. ΓÇó Added support for System 7.0 alias files
  25416. ΓÇó General enhancement of the code
  25417. ΓÇó Added "=" param for online help
  25418. </text>
  25419.     </content>
  25420.     <name>ShowHideFolder 1.1</name>
  25421.     <script>
  25422.  
  25423.  
  25424.  
  25425. on opencard
  25426. end opencard
  25427.  
  25428. on closeCard
  25429. end closeCard
  25430.  
  25431. </script>
  25432. </card>
  25433.  
  25434.  
  25435. card_43746.xml
  25436. <?xml version="1.0" encoding="utf-8" ?>
  25437. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  25438. <card>
  25439.     <id>43746</id>
  25440.     <filler1>0</filler1>
  25441.     <bitmap>BMAP_43965.pbm</bitmap>
  25442.     <cantDelete> <false /> </cantDelete>
  25443.     <showPict> <true /> </showPict>
  25444.     <dontSearch> <false /> </dontSearch>
  25445.     <owner>46925</owner>
  25446.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  25447.     <part>
  25448.         <id>1</id>
  25449.         <type>field</type>
  25450.         <visible> <true /> </visible>
  25451.         <dontWrap> <false /> </dontWrap>
  25452.         <dontSearch> <false /> </dontSearch>
  25453.         <sharedText> <false /> </sharedText>
  25454.         <fixedLineHeight> <true /> </fixedLineHeight>
  25455.         <autoTab> <false /> </autoTab>
  25456.         <lockText> <true /> </lockText>
  25457.         <rect>
  25458.             <left>69</left>
  25459.             <top>68</top>
  25460.             <right>434</right>
  25461.             <bottom>252</bottom>
  25462.         </rect>
  25463.         <style>scrolling</style>
  25464.         <autoSelect> <false /> </autoSelect>
  25465.         <showLines> <false /> </showLines>
  25466.         <wideMargins> <false /> </wideMargins>
  25467.         <multipleLines> <false /> </multipleLines>
  25468.         <reservedFamily> 0 </reservedFamily>
  25469.         <titleWidth>0</titleWidth>
  25470.         <icon>0</icon>
  25471.         <textAlign>left</textAlign>
  25472.         <font>Geneva</font>
  25473.         <textSize>9</textSize>
  25474.         <textStyle>plain</textStyle>
  25475.         <textHeight>12</textHeight>
  25476.         <name></name>
  25477.         <script></script>
  25478.     </part>
  25479.     <part>
  25480.         <id>5</id>
  25481.         <type>button</type>
  25482.         <visible> <true /> </visible>
  25483.         <reserved5> 0 </reserved5>
  25484.         <reserved4> 0 </reserved4>
  25485.         <reserved3> 0 </reserved3>
  25486.         <reserved2> 0 </reserved2>
  25487.         <reserved1> 0 </reserved1>
  25488.         <enabled> <true /> </enabled>
  25489.         <rect>
  25490.             <left>174</left>
  25491.             <top>281</top>
  25492.             <right>343</right>
  25493.             <bottom>311</bottom>
  25494.         </rect>
  25495.         <style>roundrect</style>
  25496.         <showName> <true /> </showName>
  25497.         <highlight> <false /> </highlight>
  25498.         <autoHighlight> <true /> </autoHighlight>
  25499.         <sharedHighlight> <true /> </sharedHighlight>
  25500.         <family>0</family>
  25501.         <titleWidth>0</titleWidth>
  25502.         <icon>0</icon>
  25503.         <textAlign>center</textAlign>
  25504.         <font>Geneva</font>
  25505.         <textSize>12</textSize>
  25506.         <textStyle>plain</textStyle>
  25507.         <name>SoundRecord</name>
  25508.         <script>on mouseUp
  25509. ask "Resource name :" with "Test"
  25510. if it is empty then exit mouseUp
  25511. put it into Name
  25512.  
  25513. answer "Recording quality :" with "Good" or "Best" or "Better"
  25514. put it into Quality
  25515.  
  25516. answer "Force STAR creation :" with "Yes" or "No"
  25517. put (it is "Yes") into AddStar
  25518.  
  25519. answer "Install the sound in :" with "Other stack" or "Current stack"
  25520. if it is "Other stack"
  25521. then
  25522. if last word of the version ΓëÑ 2.0
  25523. then answer file "File to search in :"
  25524. else ask "PathName of file to search in :"
  25525.  
  25526. if it is empty then exit mouseUp
  25527.  
  25528. if AddStar
  25529. then SoundRecord Name,Quality,"AddStar",it
  25530. else SoundRecord Name,Quality,it
  25531. else
  25532. if AddStar
  25533. then SoundRecord Name,Quality,"AddStar"
  25534. else SoundRecord Name,Quality
  25535. end if
  25536.  
  25537. if the result Γëá empty
  25538. then answer the Result
  25539. end mouseUp</script>
  25540.     </part>
  25541.     <content>
  25542.         <layer>card</layer>
  25543.         <id>1</id>
  25544.         <text>
  25545.  
  25546.                                              SoundRecord 1.4
  25547.  
  25548.                                           by Fr├⌐d├⌐ric RINALDI
  25549.  
  25550.  
  25551. DESCRIPTION
  25552. ------------
  25553.   SoundRecord allows to record sound using any recognized sound input device. It works with both HyperCard & SuperCard.
  25554.  
  25555.  
  25556. SYNTAX
  25557. --------
  25558.          SoundRecord <res name>[,<quality>][,<dest file>][,<"AddStar">]
  25559.  
  25560.  
  25561. PARAMETERS
  25562. ------------
  25563.    <res name> is the name of the "snd " resource to be created.
  25564.  
  25565.    <quality> is the recording quality. it can be "good", "better" or "best". Default is "better".
  25566.  
  25567.    <dest file> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack. Aliases are also supported. Default is current stack.
  25568.  
  25569.    <"AddStar"> allows to force creation of fake STAR resource for SuperCard projects, even with non standard file creator.
  25570.  
  25571.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  25572.  
  25573.  
  25574. USING
  25575. -----
  25576.    Calling the XCMD brings the standard recording dialog, and requires System 6.0.5 or higher.
  25577.  
  25578.    Any previous "snd " resource with same name is simply replaced by the new recorded one.
  25579.  
  25580.    Using HyperCard 2.x, sound will be saved as Type 1 snd resource, while it will be saved as Type 2 snd using HyperCard 1.x or SuperCard.
  25581.  
  25582.  
  25583. ERRORS
  25584. -------
  25585. If an error occurs, SoundRecord can return :
  25586.  
  25587.      "Error : Too old Sound Manager version"
  25588.      "Error : Cannot record sound with this System version"
  25589.      "Error : Input device not available"
  25590.      "Error : Missing or empty parameter"
  25591.      "Error : Bad recording quality parameter"
  25592.      "Error : Invalid sound input device"
  25593.      "Error : Sound input device unavailable"
  25594.      "Error : Couldn't create "snd " resource"
  25595.      "Error : Couldn't create "snd " STAR resource"
  25596.      "Error : unknown #xx"
  25597.  
  25598.  
  25599. HISTORY
  25600. --------
  25601. 1.4                                                                                            11/08/91
  25602. ΓÇó Added "AddStar" param
  25603.  
  25604. 1.3                                                                                            10/15/91
  25605. ΓÇó Sound always recorded as fake data resource in SC files
  25606.  
  25607. 1.2                                                                                            10/11/91
  25608. ΓÇó Sound recorded as real resource in non-current standalone SC projects
  25609.  
  25610. 1.1                                                                                            10/10/91
  25611. ΓÇó Added <dest file> param
  25612. ΓÇó Created 'snd ' resource IDs are never in 0..8191 (Apple reserved slots) 
  25613. ΓÇó Enhanced Type1 -> Type2 snd conversion
  25614. ΓÇó Fixed HC2 environment test
  25615.  
  25616. 1.0                                                                                            10/04/91
  25617. ΓÇó┬áFirst release
  25618. </text>
  25619.     </content>
  25620.     <name>SoundRecord 1.4</name>
  25621.     <script>
  25622.  
  25623.  
  25624.  
  25625. on opencard
  25626. end opencard
  25627.  
  25628. on closeCard
  25629. end closeCard
  25630.  
  25631. </script>
  25632. </card>
  25633.  
  25634.  
  25635. card_51907.xml
  25636. <?xml version="1.0" encoding="utf-8" ?>
  25637. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  25638. <card>
  25639.     <id>51907</id>
  25640.     <filler1>0</filler1>
  25641.     <bitmap>BMAP_52060.pbm</bitmap>
  25642.     <cantDelete> <false /> </cantDelete>
  25643.     <showPict> <true /> </showPict>
  25644.     <dontSearch> <false /> </dontSearch>
  25645.     <owner>46925</owner>
  25646.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  25647.     <part>
  25648.         <id>1</id>
  25649.         <type>field</type>
  25650.         <visible> <true /> </visible>
  25651.         <dontWrap> <false /> </dontWrap>
  25652.         <dontSearch> <false /> </dontSearch>
  25653.         <sharedText> <false /> </sharedText>
  25654.         <fixedLineHeight> <true /> </fixedLineHeight>
  25655.         <autoTab> <false /> </autoTab>
  25656.         <lockText> <true /> </lockText>
  25657.         <rect>
  25658.             <left>69</left>
  25659.             <top>68</top>
  25660.             <right>434</right>
  25661.             <bottom>252</bottom>
  25662.         </rect>
  25663.         <style>scrolling</style>
  25664.         <autoSelect> <false /> </autoSelect>
  25665.         <showLines> <false /> </showLines>
  25666.         <wideMargins> <false /> </wideMargins>
  25667.         <multipleLines> <false /> </multipleLines>
  25668.         <reservedFamily> 0 </reservedFamily>
  25669.         <titleWidth>0</titleWidth>
  25670.         <icon>0</icon>
  25671.         <textAlign>left</textAlign>
  25672.         <font>Geneva</font>
  25673.         <textSize>9</textSize>
  25674.         <textStyle>plain</textStyle>
  25675.         <textHeight>12</textHeight>
  25676.         <name></name>
  25677.         <script></script>
  25678.     </part>
  25679.     <part>
  25680.         <id>5</id>
  25681.         <type>button</type>
  25682.         <visible> <true /> </visible>
  25683.         <reserved5> 0 </reserved5>
  25684.         <reserved4> 0 </reserved4>
  25685.         <reserved3> 0 </reserved3>
  25686.         <reserved2> 0 </reserved2>
  25687.         <reserved1> 0 </reserved1>
  25688.         <enabled> <true /> </enabled>
  25689.         <rect>
  25690.             <left>174</left>
  25691.             <top>281</top>
  25692.             <right>343</right>
  25693.             <bottom>311</bottom>
  25694.         </rect>
  25695.         <style>roundrect</style>
  25696.         <showName> <true /> </showName>
  25697.         <highlight> <false /> </highlight>
  25698.         <autoHighlight> <true /> </autoHighlight>
  25699.         <sharedHighlight> <true /> </sharedHighlight>
  25700.         <family>0</family>
  25701.         <titleWidth>0</titleWidth>
  25702.         <icon>0</icon>
  25703.         <textAlign>center</textAlign>
  25704.         <font>Chicago</font>
  25705.         <textSize>12</textSize>
  25706.         <textStyle>plain</textStyle>
  25707.         <name>StripDup</name>
  25708.         <script>on mouseUp
  25709. showHide true
  25710. put stripDup(cd fld 3) into cd fld 4
  25711. end mouseUp
  25712. </script>
  25713.     </part>
  25714.     <part>
  25715.         <id>16</id>
  25716.         <type>field</type>
  25717.         <visible> <false /> </visible>
  25718.         <dontWrap> <false /> </dontWrap>
  25719.         <dontSearch> <false /> </dontSearch>
  25720.         <sharedText> <false /> </sharedText>
  25721.         <fixedLineHeight> <true /> </fixedLineHeight>
  25722.         <autoTab> <false /> </autoTab>
  25723.         <lockText> <true /> </lockText>
  25724.         <rect>
  25725.             <left>70</left>
  25726.             <top>68</top>
  25727.             <right>433</right>
  25728.             <bottom>252</bottom>
  25729.         </rect>
  25730.         <style>rectangle</style>
  25731.         <autoSelect> <false /> </autoSelect>
  25732.         <showLines> <false /> </showLines>
  25733.         <wideMargins> <false /> </wideMargins>
  25734.         <multipleLines> <false /> </multipleLines>
  25735.         <reservedFamily> 0 </reservedFamily>
  25736.         <titleWidth>0</titleWidth>
  25737.         <icon>0</icon>
  25738.         <textAlign>left</textAlign>
  25739.         <font>Geneva</font>
  25740.         <textSize>12</textSize>
  25741.         <textStyle>condense</textStyle>
  25742.         <textStyle>bold</textStyle>
  25743.         <textHeight>16</textHeight>
  25744.         <name></name>
  25745.         <script>on mouseUp
  25746. showHide false
  25747. end mouseUp</script>
  25748.     </part>
  25749.     <part>
  25750.         <id>17</id>
  25751.         <type>field</type>
  25752.         <visible> <false /> </visible>
  25753.         <dontWrap> <false /> </dontWrap>
  25754.         <dontSearch> <false /> </dontSearch>
  25755.         <sharedText> <false /> </sharedText>
  25756.         <fixedLineHeight> <true /> </fixedLineHeight>
  25757.         <autoTab> <false /> </autoTab>
  25758.         <lockText> <false /> </lockText>
  25759.         <rect>
  25760.             <left>97</left>
  25761.             <top>89</top>
  25762.             <right>210</right>
  25763.             <bottom>235</bottom>
  25764.         </rect>
  25765.         <style>rectangle</style>
  25766.         <autoSelect> <false /> </autoSelect>
  25767.         <showLines> <false /> </showLines>
  25768.         <wideMargins> <false /> </wideMargins>
  25769.         <multipleLines> <false /> </multipleLines>
  25770.         <reservedFamily> 0 </reservedFamily>
  25771.         <titleWidth>0</titleWidth>
  25772.         <icon>0</icon>
  25773.         <textAlign>left</textAlign>
  25774.         <font>Geneva</font>
  25775.         <textSize>12</textSize>
  25776.         <textStyle>plain</textStyle>
  25777.         <textHeight>16</textHeight>
  25778.         <name></name>
  25779.         <script></script>
  25780.     </part>
  25781.     <part>
  25782.         <id>18</id>
  25783.         <type>field</type>
  25784.         <visible> <false /> </visible>
  25785.         <dontWrap> <false /> </dontWrap>
  25786.         <dontSearch> <false /> </dontSearch>
  25787.         <sharedText> <false /> </sharedText>
  25788.         <fixedLineHeight> <true /> </fixedLineHeight>
  25789.         <autoTab> <false /> </autoTab>
  25790.         <lockText> <false /> </lockText>
  25791.         <rect>
  25792.             <left>291</left>
  25793.             <top>89</top>
  25794.             <right>404</right>
  25795.             <bottom>235</bottom>
  25796.         </rect>
  25797.         <style>rectangle</style>
  25798.         <autoSelect> <false /> </autoSelect>
  25799.         <showLines> <false /> </showLines>
  25800.         <wideMargins> <false /> </wideMargins>
  25801.         <multipleLines> <false /> </multipleLines>
  25802.         <reservedFamily> 0 </reservedFamily>
  25803.         <titleWidth>0</titleWidth>
  25804.         <icon>0</icon>
  25805.         <textAlign>left</textAlign>
  25806.         <font>Geneva</font>
  25807.         <textSize>12</textSize>
  25808.         <textStyle>plain</textStyle>
  25809.         <textHeight>16</textHeight>
  25810.         <name></name>
  25811.         <script></script>
  25812.     </part>
  25813.     <content>
  25814.         <layer>card</layer>
  25815.         <id>1</id>
  25816.         <text>
  25817.  
  25818.                                             StripDup 1.1
  25819.  
  25820.                                        by Fr├⌐d├⌐ric RINALDI
  25821.  
  25822.  
  25823. DESCRIPTION
  25824. ------------
  25825.   StripDup allows to quickly remove all duplicates lines, items or words from a string.
  25826.  
  25827.  
  25828. SYNTAX
  25829. -------
  25830.                       StripDup(<List>[,<case sens>][,<separator>])
  25831.  
  25832.  
  25833. PARAMETERS
  25834. ------------
  25835.    <List> is the input string. Return, comma or space are automatically recognized as separator when used in string.
  25836.  
  25837.    <case sens> is a boolean setting the search to be case sensitive (TRUE) or not (FALSE, default option).
  25838.  
  25839.    <separator> can be any character allowing to use non usual separator.
  25840.  
  25841.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  25842.  
  25843.  
  25844. USING
  25845. -----
  25846.    The XFCN returns the purged string.
  25847.  
  25848.  
  25849. ERRORS
  25850. -------
  25851. If an error occurs, StripDup can return :
  25852.      "Error : Missing parameter"
  25853.      "Error : Incorrect param #X"
  25854.  
  25855. HISTORY
  25856. --------
  25857. 1.1 :                                                                                          02/23/92
  25858. ΓÇó Enhanced separator parser
  25859. </text>
  25860.     </content>
  25861.     <content>
  25862.         <layer>card</layer>
  25863.         <id>16</id>
  25864.         <text>                Input                                       Output
  25865. </text>
  25866.     </content>
  25867.     <content>
  25868.         <layer>card</layer>
  25869.         <id>17</id>
  25870.         <text>alpha
  25871. beta
  25872. beta
  25873. gamma
  25874. alpha
  25875. beta
  25876. gamma
  25877. delta
  25878. delta</text>
  25879.     </content>
  25880.     <name></name>
  25881.     <script></script>
  25882. </card>
  25883.  
  25884.  
  25885. card_44235.xml
  25886. <?xml version="1.0" encoding="utf-8" ?>
  25887. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  25888. <card>
  25889.     <id>44235</id>
  25890.     <filler1>0</filler1>
  25891.     <bitmap>BMAP_44441.pbm</bitmap>
  25892.     <cantDelete> <false /> </cantDelete>
  25893.     <showPict> <true /> </showPict>
  25894.     <dontSearch> <false /> </dontSearch>
  25895.     <owner>46925</owner>
  25896.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  25897.     <part>
  25898.         <id>1</id>
  25899.         <type>field</type>
  25900.         <visible> <true /> </visible>
  25901.         <dontWrap> <false /> </dontWrap>
  25902.         <dontSearch> <false /> </dontSearch>
  25903.         <sharedText> <false /> </sharedText>
  25904.         <fixedLineHeight> <true /> </fixedLineHeight>
  25905.         <autoTab> <false /> </autoTab>
  25906.         <lockText> <false /> </lockText>
  25907.         <rect>
  25908.             <left>69</left>
  25909.             <top>68</top>
  25910.             <right>434</right>
  25911.             <bottom>252</bottom>
  25912.         </rect>
  25913.         <style>scrolling</style>
  25914.         <autoSelect> <false /> </autoSelect>
  25915.         <showLines> <false /> </showLines>
  25916.         <wideMargins> <false /> </wideMargins>
  25917.         <multipleLines> <false /> </multipleLines>
  25918.         <reservedFamily> 0 </reservedFamily>
  25919.         <titleWidth>0</titleWidth>
  25920.         <icon>0</icon>
  25921.         <textAlign>left</textAlign>
  25922.         <font>Geneva</font>
  25923.         <textSize>9</textSize>
  25924.         <textStyle>plain</textStyle>
  25925.         <textHeight>12</textHeight>
  25926.         <name></name>
  25927.         <script></script>
  25928.     </part>
  25929.     <part>
  25930.         <id>5</id>
  25931.         <type>button</type>
  25932.         <visible> <true /> </visible>
  25933.         <reserved5> 0 </reserved5>
  25934.         <reserved4> 0 </reserved4>
  25935.         <reserved3> 0 </reserved3>
  25936.         <reserved2> 0 </reserved2>
  25937.         <reserved1> 0 </reserved1>
  25938.         <enabled> <true /> </enabled>
  25939.         <rect>
  25940.             <left>174</left>
  25941.             <top>281</top>
  25942.             <right>343</right>
  25943.             <bottom>311</bottom>
  25944.         </rect>
  25945.         <style>roundrect</style>
  25946.         <showName> <true /> </showName>
  25947.         <highlight> <false /> </highlight>
  25948.         <autoHighlight> <true /> </autoHighlight>
  25949.         <sharedHighlight> <true /> </sharedHighlight>
  25950.         <family>0</family>
  25951.         <titleWidth>0</titleWidth>
  25952.         <icon>0</icon>
  25953.         <textAlign>center</textAlign>
  25954.         <font>Geneva</font>
  25955.         <textSize>12</textSize>
  25956.         <textStyle>plain</textStyle>
  25957.         <name>StrWidth</name>
  25958.         <script>on mouseUp
  25959. ask "String to mesure :" with "Test string"
  25960. if it is empty then exit mouseUp
  25961. put it into Text
  25962. ask "Font name :" with "Chicago"
  25963. if it is empty
  25964. then
  25965. answer StrWidth(text)
  25966. else
  25967. put it into Font
  25968. ask "Font size :" with "12"
  25969. if it is empty
  25970. then
  25971. answer StrWidth(text,Font)
  25972. else
  25973. put it into Size
  25974. ask "Font style(s) :" with "plain"
  25975. if it is empty
  25976. then answer StrWidth(text,Font,Size)
  25977. else answer StrWidth(text,Font,Size,it)
  25978. end if
  25979. end if
  25980. end mouseUp
  25981. </script>
  25982.     </part>
  25983.     <content>
  25984.         <layer>card</layer>
  25985.         <id>1</id>
  25986.         <text>
  25987.  
  25988.                                                StrWidth 1.0
  25989.  
  25990.                                           by Fr├⌐d├⌐ric RINALDI
  25991.  
  25992.  
  25993. DESCRIPTION
  25994. ------------
  25995.   StrWidth XFCN returns the length in pixels of a string, according to its text attributes.
  25996.  
  25997.  
  25998. SYNTAX
  25999. --------
  26000.                     StrWidth(<text>[<font>[,<size>[,<style(s)>]]]
  26001.  
  26002. PARAMETERS
  26003. ------------
  26004.    Text is the string to mesure. It cannot exceed 255 chars.
  26005.    The following params are optional. Default is Chicago 12 plain.
  26006.    Font is the font name.
  26007.    Size is the font size.
  26008.    Style is a comma separated list of one or more items containing the 
  26009. style(s) of the text. (plain, bold, italic, outline, underline, shadow, condense, extend)
  26010.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  26011.  
  26012. USING
  26013. -----
  26014.  
  26015. If an StrWidth occurs, external can return :
  26016.  
  26017.                  "Error : Missing parameter"
  26018.                  "Error : No such Font"
  26019.                  "Error : Bad font size"
  26020. </text>
  26021.     </content>
  26022.     <name>StrWidth 1.0</name>
  26023.     <script>
  26024.  
  26025.  
  26026.  
  26027. on opencard
  26028. end opencard
  26029.  
  26030. on closeCard
  26031. end closeCard
  26032.  
  26033. </script>
  26034. </card>
  26035.  
  26036.  
  26037. card_58131.xml
  26038. <?xml version="1.0" encoding="utf-8" ?>
  26039. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  26040. <card>
  26041.     <id>58131</id>
  26042.     <filler1>0</filler1>
  26043.     <bitmap>BMAP_50126.pbm</bitmap>
  26044.     <cantDelete> <false /> </cantDelete>
  26045.     <showPict> <true /> </showPict>
  26046.     <dontSearch> <false /> </dontSearch>
  26047.     <owner>46925</owner>
  26048.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  26049.     <part>
  26050.         <id>1</id>
  26051.         <type>field</type>
  26052.         <visible> <true /> </visible>
  26053.         <dontWrap> <false /> </dontWrap>
  26054.         <dontSearch> <false /> </dontSearch>
  26055.         <sharedText> <false /> </sharedText>
  26056.         <fixedLineHeight> <true /> </fixedLineHeight>
  26057.         <autoTab> <false /> </autoTab>
  26058.         <lockText> <true /> </lockText>
  26059.         <rect>
  26060.             <left>69</left>
  26061.             <top>68</top>
  26062.             <right>434</right>
  26063.             <bottom>252</bottom>
  26064.         </rect>
  26065.         <style>scrolling</style>
  26066.         <autoSelect> <false /> </autoSelect>
  26067.         <showLines> <false /> </showLines>
  26068.         <wideMargins> <false /> </wideMargins>
  26069.         <multipleLines> <false /> </multipleLines>
  26070.         <reservedFamily> 0 </reservedFamily>
  26071.         <titleWidth>0</titleWidth>
  26072.         <icon>0</icon>
  26073.         <textAlign>left</textAlign>
  26074.         <font>Geneva</font>
  26075.         <textSize>9</textSize>
  26076.         <textStyle>plain</textStyle>
  26077.         <textHeight>12</textHeight>
  26078.         <name>Text</name>
  26079.         <script></script>
  26080.     </part>
  26081.     <part>
  26082.         <id>2</id>
  26083.         <type>button</type>
  26084.         <visible> <true /> </visible>
  26085.         <reserved5> 0 </reserved5>
  26086.         <reserved4> 0 </reserved4>
  26087.         <reserved3> 0 </reserved3>
  26088.         <reserved2> 0 </reserved2>
  26089.         <reserved1> 0 </reserved1>
  26090.         <enabled> <true /> </enabled>
  26091.         <rect>
  26092.             <left>174</left>
  26093.             <top>281</top>
  26094.             <right>343</right>
  26095.             <bottom>311</bottom>
  26096.         </rect>
  26097.         <style>roundrect</style>
  26098.         <showName> <true /> </showName>
  26099.         <highlight> <false /> </highlight>
  26100.         <autoHighlight> <true /> </autoHighlight>
  26101.         <sharedHighlight> <true /> </sharedHighlight>
  26102.         <family>0</family>
  26103.         <titleWidth>0</titleWidth>
  26104.         <icon>0</icon>
  26105.         <textAlign>center</textAlign>
  26106.         <font>Geneva</font>
  26107.         <textSize>12</textSize>
  26108.         <textStyle>plain</textStyle>
  26109.         <name>Switch</name>
  26110.         <script>on mouseUp
  26111. show cd fld 2
  26112. put Switch(cd fld 2) into cd fld 2
  26113. end mouseUp
  26114. </script>
  26115.     </part>
  26116.     <part>
  26117.         <id>4</id>
  26118.         <type>field</type>
  26119.         <visible> <false /> </visible>
  26120.         <dontWrap> <false /> </dontWrap>
  26121.         <dontSearch> <false /> </dontSearch>
  26122.         <sharedText> <false /> </sharedText>
  26123.         <fixedLineHeight> <true /> </fixedLineHeight>
  26124.         <autoTab> <false /> </autoTab>
  26125.         <lockText> <true /> </lockText>
  26126.         <rect>
  26127.             <left>143</left>
  26128.             <top>109</top>
  26129.             <right>365</right>
  26130.             <bottom>215</bottom>
  26131.         </rect>
  26132.         <style>shadow</style>
  26133.         <autoSelect> <false /> </autoSelect>
  26134.         <showLines> <true /> </showLines>
  26135.         <wideMargins> <true /> </wideMargins>
  26136.         <multipleLines> <false /> </multipleLines>
  26137.         <reservedFamily> 0 </reservedFamily>
  26138.         <titleWidth>0</titleWidth>
  26139.         <icon>0</icon>
  26140.         <textAlign>left</textAlign>
  26141.         <font>Geneva</font>
  26142.         <textSize>12</textSize>
  26143.         <textStyle>plain</textStyle>
  26144.         <textHeight>16</textHeight>
  26145.         <name></name>
  26146.         <script>on mouseUp
  26147. hide me
  26148. end mouseUp</script>
  26149.     </part>
  26150.     <content>
  26151.         <layer>card</layer>
  26152.         <id>1</id>
  26153.         <text>
  26154.  
  26155.                                                 Switch 1.3
  26156.  
  26157.                                           by Fr├⌐d├⌐ric RINALDI
  26158.  
  26159.  
  26160. DESCRIPTION
  26161. ------------
  26162.   Switch transforms an items list to lines list, and vice-versa.
  26163.  
  26164.  
  26165. SYNTAX
  26166. -------
  26167.                                          Switch (<container>)
  26168.  
  26169.  
  26170. PARAMETERS
  26171. ------------
  26172.    <container> is the text to switch.
  26173.  
  26174.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  26175.  
  26176.  
  26177. USING
  26178. -----
  26179.    The XFCN returns the switched text.
  26180.    It takes care of itemDelimiter property available in HC 2.0.
  26181.  
  26182.  
  26183. HISTORY
  26184. --------
  26185. 1.0                                                                                        17/07/92
  26186. ΓÇó First public release
  26187. </text>
  26188.     </content>
  26189.     <content>
  26190.         <layer>card</layer>
  26191.         <id>4</id>
  26192.         <text>toto,titi,tata,,tete,tutu</text>
  26193.     </content>
  26194.     <name></name>
  26195.     <script></script>
  26196. </card>
  26197.  
  26198.  
  26199. card_44657.xml
  26200. <?xml version="1.0" encoding="utf-8" ?>
  26201. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  26202. <card>
  26203.     <id>44657</id>
  26204.     <filler1>0</filler1>
  26205.     <bitmap>BMAP_2628.pbm</bitmap>
  26206.     <cantDelete> <false /> </cantDelete>
  26207.     <showPict> <true /> </showPict>
  26208.     <dontSearch> <false /> </dontSearch>
  26209.     <owner>46925</owner>
  26210.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  26211.     <part>
  26212.         <id>1</id>
  26213.         <type>field</type>
  26214.         <visible> <true /> </visible>
  26215.         <dontWrap> <false /> </dontWrap>
  26216.         <dontSearch> <false /> </dontSearch>
  26217.         <sharedText> <false /> </sharedText>
  26218.         <fixedLineHeight> <true /> </fixedLineHeight>
  26219.         <autoTab> <false /> </autoTab>
  26220.         <lockText> <true /> </lockText>
  26221.         <rect>
  26222.             <left>69</left>
  26223.             <top>68</top>
  26224.             <right>434</right>
  26225.             <bottom>252</bottom>
  26226.         </rect>
  26227.         <style>scrolling</style>
  26228.         <autoSelect> <false /> </autoSelect>
  26229.         <showLines> <false /> </showLines>
  26230.         <wideMargins> <false /> </wideMargins>
  26231.         <multipleLines> <false /> </multipleLines>
  26232.         <reservedFamily> 0 </reservedFamily>
  26233.         <titleWidth>0</titleWidth>
  26234.         <icon>0</icon>
  26235.         <textAlign>left</textAlign>
  26236.         <font>Geneva</font>
  26237.         <textSize>9</textSize>
  26238.         <textStyle>plain</textStyle>
  26239.         <textHeight>12</textHeight>
  26240.         <name>Text</name>
  26241.         <script></script>
  26242.     </part>
  26243.     <part>
  26244.         <id>5</id>
  26245.         <type>button</type>
  26246.         <visible> <true /> </visible>
  26247.         <reserved5> 0 </reserved5>
  26248.         <reserved4> 0 </reserved4>
  26249.         <reserved3> 0 </reserved3>
  26250.         <reserved2> 0 </reserved2>
  26251.         <reserved1> 0 </reserved1>
  26252.         <enabled> <true /> </enabled>
  26253.         <rect>
  26254.             <left>174</left>
  26255.             <top>281</top>
  26256.             <right>343</right>
  26257.             <bottom>311</bottom>
  26258.         </rect>
  26259.         <style>roundrect</style>
  26260.         <showName> <true /> </showName>
  26261.         <highlight> <false /> </highlight>
  26262.         <autoHighlight> <true /> </autoHighlight>
  26263.         <sharedHighlight> <true /> </sharedHighlight>
  26264.         <family>0</family>
  26265.         <titleWidth>0</titleWidth>
  26266.         <icon>0</icon>
  26267.         <textAlign>center</textAlign>
  26268.         <font>Chicago</font>
  26269.         <textSize>12</textSize>
  26270.         <textStyle>plain</textStyle>
  26271.         <name>Tabloid</name>
  26272.         <script>on mouseUp
  26273. if there is not a window "TheList"
  26274. then
  26275. set cursor to watch
  26276. Tabloid "TheList",cd fld "List","dis"
  26277. end if
  26278. end mouseUp</script>
  26279.     </part>
  26280.     <part>
  26281.         <id>16</id>
  26282.         <type>field</type>
  26283.         <visible> <true /> </visible>
  26284.         <dontWrap> <false /> </dontWrap>
  26285.         <dontSearch> <false /> </dontSearch>
  26286.         <sharedText> <false /> </sharedText>
  26287.         <fixedLineHeight> <true /> </fixedLineHeight>
  26288.         <autoTab> <false /> </autoTab>
  26289.         <lockText> <false /> </lockText>
  26290.         <rect>
  26291.             <left>356</left>
  26292.             <top>256</top>
  26293.             <right>512</right>
  26294.             <bottom>342</bottom>
  26295.         </rect>
  26296.         <style>scrolling</style>
  26297.         <autoSelect> <false /> </autoSelect>
  26298.         <showLines> <false /> </showLines>
  26299.         <wideMargins> <false /> </wideMargins>
  26300.         <multipleLines> <false /> </multipleLines>
  26301.         <reservedFamily> 0 </reservedFamily>
  26302.         <titleWidth>0</titleWidth>
  26303.         <icon>0</icon>
  26304.         <textAlign>left</textAlign>
  26305.         <font>Geneva</font>
  26306.         <textSize>9</textSize>
  26307.         <textStyle>plain</textStyle>
  26308.         <textHeight>12</textHeight>
  26309.         <name>List</name>
  26310.         <script></script>
  26311.     </part>
  26312.     <content>
  26313.         <layer>card</layer>
  26314.         <id>1</id>
  26315.         <text><span class="style1">
  26316.                                               </span><span class="style3">Tabloid 1.1</span><span class="style1">
  26317.  
  26318.                                          </span><span class="style2"> by Fr├⌐d├⌐ric RINALDI</span><span class="style1">
  26319.  
  26320.  
  26321. </span><span class="style4">DESCRIPTION</span><span class="style1">
  26322.   Tabloid XCMD displays a spreadsheet like XWindoid, with multiple cells and columns.
  26323.  
  26324. </span><span class="style4">SYNTAX</span><span class="style1">
  26325.    Tabloid <WName>[,<List>[,<WStyle>[,<X,Y[,Z,T]>][,<NO|ONE|CON|DIS>]
  26326.                 [,<cell(s)>][,<textFont[,textSize]>][,<textAlign>][,<frame>]]
  26327.  
  26328. </span><span class="style4">PARAMETERS</span><span class="style1">
  26329.    Only first param is needed. Order of params 3 to 7 doesn't matter, since the XCMD is able to recognize them.
  26330.  
  26331.    WName is a string giving the windoid name. Many windoids can be opened by using different names.
  26332.  
  26333.    List is a comma/return delimited string that will be displayed. Line separator is return, column is comma.
  26334.  
  26335.    WStyle is a string defining the window style. Allowed styles are : plain, zoom, roundRect, rect, shadow, windoid, windoidZoom, bigWindoid, bigWindoidZoom, Rinaldoid, RinaldoidZoom (Rinaldoid is the same as windoid, except that it displays the window title). All window styles are floating, except plain, zoom and roundRect. A windoid or Rinaldoid style window will have small scrollbars, while other styles will use standard size. Default is RinaldoidZoom if Rinaldoid WDEF resource is present, windoidZoom if not found.
  26336.  
  26337.    <X,Y[,Z,T]> will be a point or a rect, and will define position and/or size of the windoid. Coordinated are card-relative. If omitted, windoid will appear with standard size at "0,10".
  26338.  
  26339.    <NO|ONE|CON|DIS> defines the selection mode (no selection, one at a time, may but adjacent, many disjoint). Default is ONE.
  26340.  
  26341.    <cell(s)> comma separated list of cell coordinates. Each cell coordinate is a string of two integers separated by space, giving line and column number of the cell ("<line>_<column>[...,<line>_<column>]"). It defines the selected cells(s) when the windoid appears. 
  26342.    Default is "1 1", but "0 0" can be used to have no selection at start.
  26343.  
  26344.    <textFont[,textSize]> is the name of font and its size to use. Default is Geneva 10.
  26345.  
  26346.    <textAlign> is the text alignment in the cells (left, center, right). Default is "left".
  26347.  
  26348.    <frame> is a boolean telling if the cells must be framed or not. Default is true, but frame appears only if Tabloid LDEF is present in resource fork.
  26349.  
  26350.    Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
  26351.  
  26352. </span><span class="style4">USING</span><span class="style1">
  26353.    Tabloid is stand alone, no linked resource is needed. Meanwhile, this stack contains a LDEF, WDEF and CDEF resources that are recognized by the XCMD if present. 
  26354.    The LDEF allows to have framed cells like in a spreadsheet, vertical centering of text in cells and text alignmenet. The WDEF allows to have an enhanced windoid-type window displaying title, while the CDEF is useful to get nice-looking scroll arrows for small scroll bars. So, these resources are optional, and for aesthetic purpose only. If you copy them, their ID can be set to any value but don't change their name.
  26355.  
  26356.  
  26357. </span><span class="style3">HINT :</span><span class="style1"> 
  26358.   If you use a rect ot shadow style window, placing it on a card can simulate a smart HyperCard spreadsheet field.
  26359.  
  26360.    If no rectangle param is used, the size of the window will be set according to maximum number of lines and columns contained in the list. The cells have all the same size which is automatically calculated according to the longest contained string.
  26361.  
  26362.   Clicking on cells(s) in the windoid sends a "TabloidSelect" message followed by the clicked word(s) and the Tabloid name. This message can be trapped using a handler :
  26363.  
  26364. </span><span class="style5">     on TabloidSelect What,Where
  26365.        if  Where is "MyList" and What is ...
  26366.      end TabloidSelect
  26367. </span><span class="style1">
  26368. </span><span class="style3">NOTE :</span><span class="style1">
  26369.    in order to avoid HyperCard's confusion, existing quotes in What param are automatically changed to single quote.
  26370.  
  26371.    When a windoid is opened, the "openTabloid" message is sent, followed by the windoid name. This allows to define window properties before it is shown, since the message can be trapped using a handler :
  26372.  
  26373. </span><span class="style5">     on openTabloid Which
  26374.        if Which is "MyWindow" then...
  26375.      end openTabloid
  26376. </span><span class="style1">
  26377.    When a windoid is close, the "closeTabloid" message is sent, followed by the windoid name. This message can be trapped using a handler :
  26378.  
  26379. </span><span class="style5">     on closeTabloid Which
  26380.        if Which is "MyWindow" then...
  26381.      end closeTabloid
  26382. </span><span class="style1">
  26383. </span><span class="style3">HINT :</span><span class="style1">
  26384.    the card script contains a "on ControlKey" handler that allows selection of first matching cell when typing a key in conjunction with control key. Moreover, while holding the control key down, the arrow keys allow to move in the list, return or enter to simulate a double-clic.
  26385.  
  26386.    It is possible to send any string to search for to the window using :
  26387.                   </span><span class="style5">send "string" to window <WName></span><span class="style1">
  26388.    If the string is found, it will be highlighted int the window. Look for "on controlKey" handler in the card script, type Control+Key to try it.
  26389.  
  26390.    The lockText property define the behaviour of the window. Default value is TRUE, meaning that a click on a cell selects it. When cursor is over window, holding Option key (or having lockText set to FALSE)  allows to change cell size by dragging or edit their content. The cursor's shape tells exactly what can be done.
  26391.    One in editing mode, cell is framed and moving around is possible using Tab or Return key with or without Shift key (validation). To exit editing, type Enter (validation) or Escape key (cancelling), or click in any other cell.
  26392.  
  26393.    Setting properties involving cell size also resizes the window to keep previously visible cell still visible.
  26394.  
  26395. </span><span class="style4">PROPERTIES</span><span class="style1">
  26396.    Like any XWindow, Tabloid has properties that can be get and set thru HyperTalk. 
  26397.   ΓÇ£properties of window "name"ΓÇ¥ will return an item list of all allowed properties :
  26398.    ΓÇó loc                  : windoid's position according to card
  26399.    ΓÇó visible            : windoid's visibility
  26400.    ΓÇó text                : windoid's text
  26401.    ΓÇó rect                : windoid's position and size according to card
  26402.    ΓÇó selectedCell    : cell(s) currently selected
  26403.    ΓÇó selectionMode : selection mode (NO|ONE|CON|DIS)
  26404.    ΓÇó frame             : cell frame (true|false)
  26405.    ΓÇó columnWidth   : width of columns in pixels
  26406.    ΓÇó rowHeight      : height of rows in pixels
  26407.    ΓÇó lockText         : locking/unlocking cells
  26408.    ΓÇó textFont         : font name
  26409.    ΓÇó textSize         : font size
  26410.    ΓÇó textAlign        : font alignment
  26411.  
  26412. </span><span class="style4">ERRORS</span><span class="style1">
  26413. If an error occurs, Tabloid can return :
  26414.  
  26415.      "Error : Missing window name"
  26416.      "Error : Duplicate window name"
  26417.      "Error : Empty parameter"
  26418.      "Error : Bad Font size"
  26419.      "Error : Unknown font name"
  26420.      "Error : Unrecognized parameter #xx"
  26421.      "Error : Unable to create XWindow"
  26422.      "Error : XWindows not implemented"
  26423.      "Error : Couldn't create list"
  26424.  
  26425. </span><span class="style4">VERSION HISTORY</span><span class="style1">
  26426. </span><span class="style3">1.1 :
  26427. </span><span class="style1">ΓÇó Added properties columnWidth, rowHeight, lockText, textFont, 
  26428.    textSize & textAlign
  26429. ΓÇó Updated LDEF resource (1.1)
  26430. ΓÇó Added editing feature
  26431. ΓÇó Added cell sizing
  26432. ΓÇó Fixed window update
  26433. ΓÇó fixed window visible state when switching under MultiFinder
  26434. </span></text>
  26435.     </content>
  26436.     <content>
  26437.         <layer>card</layer>
  26438.         <id>16</id>
  26439.         <text>This,is,a,test
  26440. to,demonstrate
  26441.  
  26442. how,Tabloid
  26443. ,works</text>
  26444.     </content>
  26445.     <name>Tabloid 1.1</name>
  26446.     <script>on closeTabloid Which
  26447. put "You closed windoid ΓÇ£" & Which & "ΓÇ¥"
  26448. end closeTabloid
  26449.  
  26450. on controlKey What
  26451. if there is a window "TheList"
  26452. then send numToChar(What) to window "TheList"
  26453. pass controlKey
  26454. end ControlKey
  26455.  
  26456. on TabloidSelect What,Where
  26457. put Where & " : " & What
  26458. end TabloidSelect
  26459.  
  26460.  
  26461.  
  26462.  
  26463. on opencard
  26464. end opencard
  26465.  
  26466. on closeCard
  26467. if there is a window "TheList"
  26468. then close window "TheList"
  26469. end closeCard
  26470.  
  26471. </script>
  26472. </card>
  26473.  
  26474.  
  26475. card_45258.xml
  26476. <?xml version="1.0" encoding="utf-8" ?>
  26477. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  26478. <card>
  26479.     <id>45258</id>
  26480.     <filler1>0</filler1>
  26481.     <bitmap>BMAP_3799.pbm</bitmap>
  26482.     <cantDelete> <false /> </cantDelete>
  26483.     <showPict> <true /> </showPict>
  26484.     <dontSearch> <false /> </dontSearch>
  26485.     <owner>46925</owner>
  26486.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  26487.     <part>
  26488.         <id>1</id>
  26489.         <type>field</type>
  26490.         <visible> <true /> </visible>
  26491.         <dontWrap> <false /> </dontWrap>
  26492.         <dontSearch> <false /> </dontSearch>
  26493.         <sharedText> <false /> </sharedText>
  26494.         <fixedLineHeight> <true /> </fixedLineHeight>
  26495.         <autoTab> <false /> </autoTab>
  26496.         <lockText> <true /> </lockText>
  26497.         <rect>
  26498.             <left>69</left>
  26499.             <top>68</top>
  26500.             <right>434</right>
  26501.             <bottom>252</bottom>
  26502.         </rect>
  26503.         <style>scrolling</style>
  26504.         <autoSelect> <false /> </autoSelect>
  26505.         <showLines> <false /> </showLines>
  26506.         <wideMargins> <false /> </wideMargins>
  26507.         <multipleLines> <false /> </multipleLines>
  26508.         <reservedFamily> 0 </reservedFamily>
  26509.         <titleWidth>0</titleWidth>
  26510.         <icon>0</icon>
  26511.         <textAlign>left</textAlign>
  26512.         <font>Geneva</font>
  26513.         <textSize>9</textSize>
  26514.         <textStyle>plain</textStyle>
  26515.         <textHeight>12</textHeight>
  26516.         <name></name>
  26517.         <script></script>
  26518.     </part>
  26519.     <part>
  26520.         <id>5</id>
  26521.         <type>button</type>
  26522.         <visible> <true /> </visible>
  26523.         <reserved5> 0 </reserved5>
  26524.         <reserved4> 0 </reserved4>
  26525.         <reserved3> 0 </reserved3>
  26526.         <reserved2> 0 </reserved2>
  26527.         <reserved1> 0 </reserved1>
  26528.         <enabled> <true /> </enabled>
  26529.         <rect>
  26530.             <left>186</left>
  26531.             <top>294</top>
  26532.             <right>355</right>
  26533.             <bottom>324</bottom>
  26534.         </rect>
  26535.         <style>roundrect</style>
  26536.         <showName> <true /> </showName>
  26537.         <highlight> <false /> </highlight>
  26538.         <autoHighlight> <true /> </autoHighlight>
  26539.         <sharedHighlight> <true /> </sharedHighlight>
  26540.         <family>0</family>
  26541.         <titleWidth>0</titleWidth>
  26542.         <icon>0</icon>
  26543.         <textAlign>center</textAlign>
  26544.         <font>Chicago</font>
  26545.         <textSize>12</textSize>
  26546.         <textStyle>plain</textStyle>
  26547.         <name>Textoid</name>
  26548.         <script>on mouseUp
  26549. Textoid "Test1","cd fld 1",false,"91,69","red","BigWindoidZoom"
  26550. testError the Result
  26551.  
  26552. Textoid "Test2","This is a sample of wrapping text, you can edit me."┬¼
  26553. ,"chicago",12,"285,142,385,242","white,blue"
  26554. testError the Result
  26555.  
  26556. Textoid "Test3","Shadow-type window without scrollBars",┬¼
  26557. "95,200,259,225","Chicago",12,"shadow"
  26558. testError the Result
  26559.  
  26560. set selectedChunk of window "Test2" to "11,16"
  26561. end mouseUp
  26562.  
  26563. on TestError What
  26564. if What Γëá empty
  26565. then
  26566. beep
  26567. answer What
  26568. exit to HyperCard
  26569. end if
  26570. end TestError
  26571. </script>
  26572.     </part>
  26573.     <part>
  26574.         <id>25</id>
  26575.         <type>button</type>
  26576.         <visible> <false /> </visible>
  26577.         <reserved5> 0 </reserved5>
  26578.         <reserved4> 0 </reserved4>
  26579.         <reserved3> 0 </reserved3>
  26580.         <reserved2> 0 </reserved2>
  26581.         <reserved1> 0 </reserved1>
  26582.         <enabled> <true /> </enabled>
  26583.         <rect>
  26584.             <left>108</left>
  26585.             <top>263</top>
  26586.             <right>330</right>
  26587.             <bottom>277</bottom>
  26588.         </rect>
  26589.         <style>transparent</style>
  26590.         <showName> <true /> </showName>
  26591.         <highlight> <false /> </highlight>
  26592.         <autoHighlight> <false /> </autoHighlight>
  26593.         <sharedHighlight> <true /> </sharedHighlight>
  26594.         <family>0</family>
  26595.         <titleWidth>0</titleWidth>
  26596.         <icon>0</icon>
  26597.         <textAlign>center</textAlign>
  26598.         <font>Chicago</font>
  26599.         <textSize>12</textSize>
  26600.         <textStyle>plain</textStyle>
  26601.         <name>Get/Set                       of window</name>
  26602.         <script></script>
  26603.     </part>
  26604.     <part>
  26605.         <id>21</id>
  26606.         <type>field</type>
  26607.         <visible> <false /> </visible>
  26608.         <dontWrap> <true /> </dontWrap>
  26609.         <dontSearch> <true /> </dontSearch>
  26610.         <sharedText> <false /> </sharedText>
  26611.         <fixedLineHeight> <true /> </fixedLineHeight>
  26612.         <autoTab> <false /> </autoTab>
  26613.         <lockText> <true /> </lockText>
  26614.         <rect>
  26615.             <left>392</left>
  26616.             <top>0</top>
  26617.             <right>512</right>
  26618.             <bottom>125</bottom>
  26619.         </rect>
  26620.         <style>scrolling</style>
  26621.         <autoSelect> <false /> </autoSelect>
  26622.         <showLines> <false /> </showLines>
  26623.         <wideMargins> <false /> </wideMargins>
  26624.         <multipleLines> <false /> </multipleLines>
  26625.         <reservedFamily> 0 </reservedFamily>
  26626.         <titleWidth>0</titleWidth>
  26627.         <icon>0</icon>
  26628.         <textAlign>left</textAlign>
  26629.         <font>Geneva</font>
  26630.         <textSize>9</textSize>
  26631.         <textStyle>plain</textStyle>
  26632.         <textHeight>12</textHeight>
  26633.         <name>Windows</name>
  26634.         <script></script>
  26635.     </part>
  26636.     <part>
  26637.         <id>22</id>
  26638.         <type>button</type>
  26639.         <visible> <false /> </visible>
  26640.         <reserved5> 0 </reserved5>
  26641.         <reserved4> 0 </reserved4>
  26642.         <reserved3> 0 </reserved3>
  26643.         <reserved2> 0 </reserved2>
  26644.         <reserved1> 0 </reserved1>
  26645.         <enabled> <true /> </enabled>
  26646.         <rect>
  26647.             <left>327</left>
  26648.             <top>260</top>
  26649.             <right>387</right>
  26650.             <bottom>279</bottom>
  26651.         </rect>
  26652.         <style>shadow</style>
  26653.         <showName> <true /> </showName>
  26654.         <highlight> <false /> </highlight>
  26655.         <autoHighlight> <true /> </autoHighlight>
  26656.         <sharedHighlight> <true /> </sharedHighlight>
  26657.         <family>0</family>
  26658.         <titleWidth>0</titleWidth>
  26659.         <icon>0</icon>
  26660.         <textAlign>left</textAlign>
  26661.         <font>Chicago</font>
  26662.         <textSize>12</textSize>
  26663.         <textStyle>plain</textStyle>
  26664.         <name></name>
  26665.         <script>on mouseDown
  26666. get AllWindoids()
  26667.  
  26668. if it Γëá empty
  26669. then
  26670. get FullHPop(it)
  26671.  
  26672. if it Γëá empty
  26673. then
  26674. set name of me to item 1 of it
  26675. show btn 5
  26676. show btn 6
  26677. end if
  26678. end if
  26679. end mouseDown
  26680. </script>
  26681.     </part>
  26682.     <part>
  26683.         <id>23</id>
  26684.         <type>button</type>
  26685.         <visible> <false /> </visible>
  26686.         <reserved5> 0 </reserved5>
  26687.         <reserved4> 0 </reserved4>
  26688.         <reserved3> 0 </reserved3>
  26689.         <reserved2> 0 </reserved2>
  26690.         <reserved1> 0 </reserved1>
  26691.         <enabled> <true /> </enabled>
  26692.         <rect>
  26693.             <left>372</left>
  26694.             <top>262</top>
  26695.             <right>387</right>
  26696.             <bottom>275</bottom>
  26697.         </rect>
  26698.         <style>transparent</style>
  26699.         <showName> <false /> </showName>
  26700.         <highlight> <false /> </highlight>
  26701.         <autoHighlight> <false /> </autoHighlight>
  26702.         <sharedHighlight> <true /> </sharedHighlight>
  26703.         <family>0</family>
  26704.         <titleWidth>0</titleWidth>
  26705.         <icon>31383</icon>
  26706.         <textAlign>center</textAlign>
  26707.         <font>Chicago</font>
  26708.         <textSize>12</textSize>
  26709.         <textStyle>plain</textStyle>
  26710.         <name>WindArrow</name>
  26711.         <script>on mouseDown
  26712. send mouseDown to btn 3
  26713. end mouseDown</script>
  26714.     </part>
  26715.     <part>
  26716.         <id>24</id>
  26717.         <type>field</type>
  26718.         <visible> <false /> </visible>
  26719.         <dontWrap> <true /> </dontWrap>
  26720.         <dontSearch> <true /> </dontSearch>
  26721.         <sharedText> <false /> </sharedText>
  26722.         <fixedLineHeight> <true /> </fixedLineHeight>
  26723.         <autoTab> <false /> </autoTab>
  26724.         <lockText> <true /> </lockText>
  26725.         <rect>
  26726.             <left>392</left>
  26727.             <top>125</top>
  26728.             <right>512</right>
  26729.             <bottom>342</bottom>
  26730.         </rect>
  26731.         <style>scrolling</style>
  26732.         <autoSelect> <false /> </autoSelect>
  26733.         <showLines> <false /> </showLines>
  26734.         <wideMargins> <false /> </wideMargins>
  26735.         <multipleLines> <false /> </multipleLines>
  26736.         <reservedFamily> 0 </reservedFamily>
  26737.         <titleWidth>0</titleWidth>
  26738.         <icon>0</icon>
  26739.         <textAlign>left</textAlign>
  26740.         <font>Geneva</font>
  26741.         <textSize>9</textSize>
  26742.         <textStyle>plain</textStyle>
  26743.         <textHeight>12</textHeight>
  26744.         <name>Properties</name>
  26745.         <script></script>
  26746.     </part>
  26747.     <part>
  26748.         <id>26</id>
  26749.         <type>button</type>
  26750.         <visible> <false /> </visible>
  26751.         <reserved5> 0 </reserved5>
  26752.         <reserved4> 0 </reserved4>
  26753.         <reserved3> 0 </reserved3>
  26754.         <reserved2> 0 </reserved2>
  26755.         <reserved1> 0 </reserved1>
  26756.         <enabled> <true /> </enabled>
  26757.         <rect>
  26758.             <left>167</left>
  26759.             <top>260</top>
  26760.             <right>251</right>
  26761.             <bottom>279</bottom>
  26762.         </rect>
  26763.         <style>shadow</style>
  26764.         <showName> <true /> </showName>
  26765.         <highlight> <false /> </highlight>
  26766.         <autoHighlight> <true /> </autoHighlight>
  26767.         <sharedHighlight> <true /> </sharedHighlight>
  26768.         <family>0</family>
  26769.         <titleWidth>0</titleWidth>
  26770.         <icon>0</icon>
  26771.         <textAlign>left</textAlign>
  26772.         <font>Chicago</font>
  26773.         <textSize>12</textSize>
  26774.         <textStyle>plain</textStyle>
  26775.         <name>property</name>
  26776.         <script>on mouseDown
  26777. put FullHPop(cd fld "Properties",left of me & ",5") into PopResult
  26778.  
  26779. if PopResult is empty
  26780. then exit mouseDown
  26781.  
  26782. if item 2 of PopResult is empty
  26783. then
  26784. do "get" && item 1 of PopResult && "of window" && quote & ┬¼
  26785. short name of btn id 22 & quote
  26786. answer item 1 of PopResult && "=" && it
  26787. else
  26788. if item 2 of PopResult is "ToΓǪ"
  26789. then
  26790. ask "Set" && item 1 of PopResult && "to :"
  26791. if the Result = "Cancel" then exit mouseDown
  26792. do "set" && item 1 of PopResult && "of window" && quote & ┬¼
  26793. short name of btn id 22 & quote && "to" && it
  26794. else
  26795. do "set" && item 1 of PopResult && "of window" && quote & ┬¼
  26796. short name of btn id 22 & quote && "to" && item 2 of PopResult
  26797. end if
  26798. end if
  26799. end mouseDown
  26800. </script>
  26801.     </part>
  26802.     <part>
  26803.         <id>27</id>
  26804.         <type>button</type>
  26805.         <visible> <false /> </visible>
  26806.         <reserved5> 0 </reserved5>
  26807.         <reserved4> 0 </reserved4>
  26808.         <reserved3> 0 </reserved3>
  26809.         <reserved2> 0 </reserved2>
  26810.         <reserved1> 0 </reserved1>
  26811.         <enabled> <true /> </enabled>
  26812.         <rect>
  26813.             <left>235</left>
  26814.             <top>262</top>
  26815.             <right>250</right>
  26816.             <bottom>275</bottom>
  26817.         </rect>
  26818.         <style>transparent</style>
  26819.         <showName> <false /> </showName>
  26820.         <highlight> <false /> </highlight>
  26821.         <autoHighlight> <false /> </autoHighlight>
  26822.         <sharedHighlight> <true /> </sharedHighlight>
  26823.         <family>0</family>
  26824.         <titleWidth>0</titleWidth>
  26825.         <icon>31383</icon>
  26826.         <textAlign>center</textAlign>
  26827.         <font>Chicago</font>
  26828.         <textSize>12</textSize>
  26829.         <textStyle>plain</textStyle>
  26830.         <name>PropArrow</name>
  26831.         <script>on mouseDown
  26832. send mouseDown to btn 5
  26833. end mouseDown</script>
  26834.     </part>
  26835.     <content>
  26836.         <layer>card</layer>
  26837.         <id>1</id>
  26838.         <text><span class="style1">
  26839.                                                 </span><span class="style3">Textoid 3.6</span><span class="style1">
  26840.  
  26841.                                          </span><span class="style2"> by Fr├⌐d├⌐ric RINALDI</span><span class="style1">
  26842.  
  26843.  </span><span class="style2"> and the faithfull help of Beno├«t WIDEMANN for WDEF and CDEF resources</span><span class="style1">
  26844.  
  26845.  
  26846.  
  26847. </span><span class="style4">DESCRIPTION</span><span class="style1">
  26848.   Textoid XCMD displays a full-styled text windoid.
  26849.  
  26850.  
  26851. </span><span class="style4">SYNTAX</span><span class="style1">
  26852.        Textoid <WName>[,<text>[,<WStyle>][,<color>] [,<X,Y[,Z,T]>]
  26853.                    [,<textWrap>][,<FName>] [,<FSize>] [,<FStyle>] [,<FAlign>] ]
  26854.  
  26855.  
  26856. </span><span class="style4">PARAMETERS</span><span class="style1">
  26857.    Only first param is needed. Order of params 3 to 10 doesn't matter, since the XCMD is able to recognize them.
  26858.  
  26859.    </span><span class="style3">WName</span><span class="style1"> is a string giving the windoid name. Many windoids can be opened by using different names.
  26860.  
  26861.    </span><span class="style3">Text</span><span class="style1"> is the text that will be displayed in the windoid. It can be litteral or a field descriptor.
  26862.  
  26863.       </span><span class="style5">Textoid "Test","This is my text"</span><span class="style1">
  26864.       </span><span class="style5">Textoid "Test",cd fld 1</span><span class="style1">
  26865.  
  26866.    If you pass a valid field descriptor enclosed in quotes, HyperCard will not interpret it and Textoid will use the full-styled text of that field rather than its text only. If the descriptor is not valid, Textoid will use it as litteral.
  26867.  
  26868.       </span><span class="style5">Textoid "Test","cd fld 1"</span><span class="style1">
  26869.  
  26870.    If you want to use the field name, you will use :
  26871.  
  26872.       </span><span class="style5">Textoid "Test","cd fld" && quote & "Name" & quote</span><span class="style1">
  26873.  
  26874.    </span><span class="style3">WStyle</span><span class="style1"> is a string defining the window style. Allowed styles are : plain, zoom, roundRect, rect, shadow, windoid, windoidZoom, bigWindoid, bigWindoidZoom, Rinaldoid, RinaldoidZoom (Rinaldoid is the same as windoid, except that it displays the window title). All window styles are floating, except plain, zoom and roundRect. A windoid or Rinaldoid style window will have small scrollbars, while other styles will use standard size. Default is RinaldoidZoom if Rinaldoid WDEF resource is present, windoidZoom if not found.
  26875.  
  26876.    </span><span class="style3">Color</span><span class="style1"> is a one or two items string giving the foreground and background color. For each item, allowed values are the standard colors (black, white, blue, red, yellow, cyan, magenta, green), or a three word string corresponding to red, green and blue values (100 5624 28652).
  26877.  
  26878.    </span><span class="style3"><X,Y[,Z,T]></span><span class="style1"> will be a point or a rect, and will define position and/or size of the windoid. Coordinated are card-relative. If omitted, windoid will appear with standard size at "0,10".
  26879.  
  26880.    </span><span class="style3">textWrap</span><span class="style1"> is a boolean to wrap (true) or not (false) the text in the windoid. This param makes also the horizontal scrollBar be invisible (true) or visible (false). Default is true, and horizontal scroll being hidden.
  26881.  
  26882.    </span><span class="style3">FName</span><span class="style1"> is a string giving the font that will be used. Default is Geneva.
  26883.  
  26884.    </span><span class="style3">FSize</span><span class="style1"> is a string giving the font size that will be used. Default is 9.
  26885.  
  26886.    </span><span class="style3">FStyle</span><span class="style1"> is an item(s) string giving the font style(s) that will be used (plain, bold, italic, outline, underline, shadow, condense, extend, grouped). Default is Plain.
  26887.  
  26888.    </span><span class="style3">FAlign</span><span class="style1"> is a string giving the text alignment that will be used (left,right, center). Default is left.
  26889.  
  26890.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  26891.  
  26892.  
  26893. </span><span class="style4">USING</span><span class="style1">
  26894.    Textoid is stand alone, no linked resource is needed. Meanwhile, this stack contains a WDEF and a CDEF resource that are recognized by the XCMD if present. The WDEF allows to have an enhanced windoid-type window displaying title, while the CDEF is useful to get nice-looking scroll arrows for small scroll bars. So, these resources are optional, and for aesthetic purpose only. If you copy them, their ID can be set to any value but don't change their name. Each window can contain up to 32000 chars.
  26895.  
  26896. </span><span class="style3">Hint</span><span class="style1"> : 
  26897.   If you use a rect or shadow style window, placing it on a card can simulate a smart double-scroll HyperCard field.
  26898.  
  26899.    With multiple screens configuration, the windoid will be zoomed on the screen that it lays on.
  26900.  
  26901.   Textoid offers full text editing with Cut, Copy, Paste and Erase. </span><span class="style2">lockText </span><span class="style1">property allows to lock/unlock the content. When a window is created, its text is locked. Like for a field, the content must be locked to accept mouseDown events (thus HyperText). If unlocked, the insertion point will be set at the clickLoc.
  26902.  
  26903. </span><span class="style3">Shortcuts</span><span class="style1"> : 
  26904.    ΓÇó Control-Clic in text allows to move the window
  26905.    ΓÇó Command-Click in text locks/unlocks the text (only if </span><span class="style2">UnLockAllowed</span><span class="style1"> 
  26906. property is true).
  26907.    ΓÇó Option-Clic in text allows to move text with grabber hand
  26908.    ΓÇó Holding ShiftKey makes any scrolling smoother.
  26909.    ΓÇó Holding OptionKey while clicking in a scrollBar reverses the scroll
  26910.    ΓÇó Command-A selects the whole text (if unlocked)
  26911.    ΓÇó Control-Option-P, B, I, U, O, S, C, E, G changes selection style
  26912.  
  26913.    </span><span class="style2">SelectedChunk</span><span class="style1"> property allows to select any part of the text. When using </span><span class="style5">set selectedChunk of window "MyWindow" to "X,Y"</span><span class="style1">, the window is brought to the front, the text is automatically unlocked, scrolled to show the insertion point, and you are ready to type in it. You can also get the selectedChunk when the window is closed using :
  26914.  
  26915. </span><span class="style5">    on closeTextoid Which
  26916.       get selectedChunk of window Which
  26917.       put char (item 1 of it) to (item 2 of it) of Text┬¼
  26918.       of window Which
  26919.     end closeTextoid
  26920.  
  26921. </span><span class="style1">   In order to allow text manipulation by clicking on an HC button, Textoid keep the last selection in a global variable </span><span class="style2">TextoidLastSelection</span><span class="style1"> :
  26922.         "<first char>,<last char>,<window name>,<window ID>"
  26923.    Following script will chage current selection to bold :
  26924.  
  26925. </span><span class="style5">    on mouseUp
  26926.       global TextoidLastSelection
  26927.       put item 3 of TextoidLastSelection into WName
  26928.       set selectedChunk of window WName to ┬¼            
  26929.       item 1 to 2 of TextoidLastSelection
  26930.       set textStyle of window WName to "bold"
  26931.     end mouseUp
  26932. </span><span class="style1">
  26933. </span><span class="style3">Hint</span><span class="style1"> :
  26934.    the insertion point will be placed at the end of the text by using :
  26935.    </span><span class="style5">set selectedChunk of window MyWindow to 32000</span><span class="style1">
  26936.  
  26937.    When a Textoid is displayed, font, style, size and even color are accessible using the existing menus. These act exactly like for HyperCard fields : if there is no current selection in the windoid, menus change the global window attributes. Otherwise, only the current selection attributes are changed.
  26938.  
  26939.   </span><span class="style2">FieldTransfer</span><span class="style1"> property (</span><span class="style3">set</span><span class="style1"> only) allows to transfer the full-styled text from the windoid to any existing field. Field descriptor must be enclosed in quotes, like the input parameter.
  26940.  
  26941.    </span><span class="style5">set fieldTransfer of window "Test" to "cd fld 1"
  26942.  
  26943. </span><span class="style1">   Both scrollBars can now be hidden. In this case, the growBox remains hidden, but is stilll active.
  26944.  
  26945. </span><span class="style5">     on openTextoid WName,WId
  26946.        if WName is "MyWindow"
  26947.        then
  26948.          set textWrap of window WName to true
  26949.          set ShowVScroll of window WName to false
  26950.        end if
  26951.      end openTextoid
  26952.  
  26953. </span><span class="style1">   The window content can now be printed by using :
  26954. </span><span class="style5">     send "print" to window "MyWindow"
  26955. </span><span class="style1">
  26956. </span><span class="style5">
  26957. </span><span class="style4">MESSAGES
  26958. </span><span class="style1">   
  26959.    </span><span class="style3">OpenTextoid</span><span class="style1"> : sent when a windoid is opened, followed by the windoid name and ID. This allows to define window properties before it is shown, since the message can be trapped using a handler :
  26960.  
  26961. </span><span class="style5">     on openTextoid WName,WId
  26962.        if WName is "MyWindow" then...
  26963.      end openTextoid
  26964.  
  26965. </span><span class="style1">   </span><span class="style3">CloseTextoid</span><span class="style1"> : sent when a windoid is closed, followed by the windoid name and ID. This allows to define window properties before it is shown, since the message can be trapped using a handler :
  26966.  
  26967. </span><span class="style5">     on closeTextoid WName,WId
  26968.        if WName is "MyWindow" then...
  26969.      end closeTextoid
  26970.  
  26971.  
  26972. </span><span class="style1">   </span><span class="style3">ActivateTextoid</span><span class="style1"> : sent for non-floating windows only (plain, zoom, roundRect), when the window is activated. It is followed by the windoid name and ID.
  26973. </span><span class="style3">
  26974. </span><span class="style1">   </span><span class="style3">DeActivateTextoid</span><span class="style1"> : sent for non-floating windows only (plain, zoom, roundRect), when the window is de-activated. It is followed by the windoid name and ID.
  26975. </span><span class="style3">
  26976. </span><span class="style1">   </span><span class="style3">ClickInText</span><span class="style1"> : </span><span class="style5">s</span><span class="style1">ent when clicking on a word in the locked window, followed by the clicked word, windoid name and ID, start and end char being clicked, font, size, style and color of text.
  26977.    If the whole sent string (message + params) exceeds 255 chars, then the string will consist of its first 254 chars, followed by character "..." to signify the overflow (the ellipsis character, not three dot characters, hex C9).
  26978.  
  26979. </span><span class="style5">on clickInText Wrd,WName,WId,Start,Stop,Fnt,Size,Stl,Col
  26980.   if WName is "Test1" and Wrd is ...
  26981. end clickInText
  26982. </span><span class="style1">
  26983. </span><span class="style3">Note</span><span class="style1"> : Fnt, Size, Stl et Col may contain many items if the clicked text has different text attributes.
  26984.  
  26985.  
  26986. </span><span class="style4">PROPERTIES</span><span class="style1">
  26987.    Like any XWindow, Textoid has properties that can be get and set thru HyperTalk. Default values are shown </span><span class="style14">underlined</span><span class="style1">.
  26988.   </span><span class="style5">properties of window "Textoid"</span><span class="style1"> will return an item list of all allowed properties :
  26989.    ΓÇó loc             : windoid's position according to card (X,Y)
  26990.    ΓÇó globalLoc   : windoid's position according to screen (X,Y)
  26991.    ΓÇó visible       : windoid's visibility (</span><span class="style14">true</span><span class="style1"> or false)
  26992.    ΓÇó id              : windoid's id (</span><span class="style3">get</span><span class="style1"> only)
  26993.    ΓÇó messages  : list of messages sent by the windoid
  26994.    ΓÇó text          : windoid's text (quoted field descriptor gives full style)
  26995.    ΓÇó rect          : windoid's position and size according to card (X,Y,Z,T)
  26996.    ΓÇó globalRect : windoid's position and size according to screen (X,Y,Z,T)
  26997.    ΓÇó textFont    : current selection's or windoid's font (</span><span class="style14">geneva</span><span class="style1">, times, ΓǪ)
  26998.    ΓÇó textSize    : current selection's or windoid's font size (</span><span class="style14">9</span><span class="style1">, 10,ΓǪ)
  26999.    ΓÇó textAlign  : windoid's text alignment (</span><span class="style14">left</span><span class="style1">,right,center)
  27000.    ΓÇó textStyle  : current selection's or windoid's text style (</span><span class="style14">plain</span><span class="style1">,italic,
  27001.                          bold,outline,underline,shadow,condense,extend,grouped)
  27002.    ΓÇó hScroll      : horizontal scroll value (X pixels)
  27003.    ΓÇó vScroll      : vertical scroll value (X pixels)
  27004.    ΓÇó zoom         : zoomed state (</span><span class="style14">in</span><span class="style1">, out)
  27005.    ΓÇó textColor  : current selection or windoid's text color (</span><span class="style14">black</span><span class="style1">, white,
  27006.                          blue, red, yellow, cyan, magenta, green)  or (R G B)
  27007.    ΓÇó backColor : back color (black, </span><span class="style14">white</span><span class="style1">, blue, red, yellow, cyan, magenta,
  27008.                          green)  or (R G B)
  27009.    ΓÇó lockText          : text locking (</span><span class="style14">true</span><span class="style1"> or false)
  27010.    ΓÇó viewChunk       : visible text portion (Start[,Stop])
  27011.    ΓÇó selectedChunk  : current selection offset (Start,Stop)
  27012.    ΓÇó selectedText    : current selection text (</span><span class="style3">set</span><span class="style1"> allows to replace selected 
  27013.       text in the window by another text)
  27014.    ΓÇó fieldTransfer   : text transfer to any field</span><span class="style3"> </span><span class="style1">(</span><span class="style3">set</span><span class="style1"> only)
  27015.    ΓÇó textWrap         : wrapping of text (</span><span class="style14">true</span><span class="style1"> or false)
  27016.    ΓÇó textWidth        : width of text</span><span class="style3"> </span><span class="style1">(</span><span class="style3">set </span><span class="style1">has no effect if </span><span class="style2">textWrap</span><span class="style1"> = true)
  27017.    ΓÇó UnLockAllowed : unlocking text by Cmd-click permission (</span><span class="style14">true</span><span class="style1"> or false)
  27018.    ΓÇó GrowAllowed   : window growing permission (</span><span class="style14">true</span><span class="style1"> or false)
  27019.    ΓÇó MoveAllowed   : window moving permission (</span><span class="style14">true</span><span class="style1"> or false)
  27020.    ΓÇó ShowVScroll    : vertical scrollBar visible (</span><span class="style14">true</span><span class="style1"> or false)
  27021.    ΓÇó ShowHScroll    : horizontal scrollBar visible (= NOT textWrap)
  27022.  
  27023.  
  27024. </span><span class="style4">ERRORS</span><span class="style1">
  27025. If an error occurs, external can return :
  27026.      "Error : Missing window name"
  27027.      "Error : Text cannot exceed 32000 chars"
  27028.      "Error : Unrecognized parameter"
  27029.      "Error : Duplicate window name"
  27030.      "Error : Empty parameter"
  27031.      "Error : Window rect defined twice"
  27032.      "Error : Window loc defined twice"
  27033.      "Error : Text wrap defined twice"
  27034.      "Error : Font size defined twice"
  27035.      "Error : Font name defined twice"
  27036.      "Error : Font style defined twice"
  27037.      "Error : Font alignment defined twice"
  27038.      "Error : Bad text style"
  27039.      "Error : Unable to create XWindow"
  27040.      "Error : XWindows not implemented"
  27041.      "Error : Bad property value"
  27042.  
  27043. </span><span class="style4">VERSIONS HISTORY
  27044. </span><span class="style3">3.6</span><span class="style1"> :                                                                                      </span><span class="style3">07/08/92</span><span class="style1">
  27045. ΓÇó Added printing feature
  27046. ΓÇó Added extended keyboard function keys support
  27047. ΓÇó Text color is not lost anymore when setting the text property</span><span class="style2">
  27048. </span><span class="style1">
  27049. </span><span class="style3">3.5</span><span class="style1"> :                                                                                      </span><span class="style3">05/21/92</span><span class="style1">
  27050. ΓÇó Added </span><span class="style2">owner </span><span class="style1">property</span><span class="style2">
  27051. </span><span class="style1">
  27052. </span><span class="style3">3.4 :                                                                05/05/91
  27053. </span><span class="style1">ΓÇó Fixed "set rect" property
  27054. </span><span class="style3">
  27055. 3.3 :                                                                04/21/91
  27056. </span><span class="style1">ΓÇó Fixed bug appearing with Classic/System 6
  27057. ΓÇó Enhanced property error handling
  27058. ΓÇó Changed SetClickLoop
  27059. </span><span class="style3">
  27060. 3.2 :                                                                03/12/92
  27061. </span><span class="style1">ΓÇó No more CURS resources creation in res file
  27062. ΓÇó Last selection stored in </span><span class="style2">TextoidLastSelection </span><span class="style1">global variable
  27063. ΓÇó Added </span><span class="style2">ActivateTextoid</span><span class="style1"> and </span><span class="style2">DeActivateTextoid </span><span class="style1">messages</span><span class="style2">
  27064. </span><span class="style1">ΓÇó HyperText uses Script Mgr to get word boundaries
  27065. ΓÇó Fixed default window position
  27066. ΓÇó </span><span class="style2">Grouped </span><span class="style1">style now supported</span><span class="style2">
  27067. </span><span class="style1">ΓÇó Fixed edition in non-floating windows
  27068. ΓÇó ScrollBars are updated while click-dragging in text
  27069. ΓÇó Non-floating windows no more hidden when switching feom HC
  27070. ΓÇó Added window ID param with all messages
  27071. ΓÇó Added </span><span class="style2">id</span><span class="style1">, </span><span class="style2">messages, UnLockAllowed,GrowAllowed, MoveAllowed</span><span class="style1">, </span><span class="style2">ShowVScroll</span><span class="style1">, </span><span class="style2">ShowHScroll</span><span class="style1">  and </span><span class="style2">viewChunk </span><span class="style1">properties</span><span class="style2">
  27072. </span><span class="style1">ΓÇó Horizontal scrollBars visible only if needed (</span><span class="style2">textWrap</span><span class="style1"> = false)
  27073. ΓÇó Both scrollbars can now be hidden
  27074. ΓÇó Fixed many other small bugs
  27075. </span><span class="style3">
  27076. 3.1 :                                                                05/25/91
  27077. </span><span class="style1">ΓÇó fixed set textSize bug
  27078.  
  27079. </span><span class="style3">3.0 :                                                                04/24/91
  27080. </span><span class="style1">ΓÇó Full Undo now supported
  27081. ΓÇó All text attributes properties now apply to current selection if one
  27082. ΓÇó Added text grabbing with option-click in text
  27083. ΓÇó Holding shift key while using a scrollBar inverses the scrolling direction
  27084. ΓÇó Holding option key while using a scrollBar gives smooth scrolling
  27085. ΓÇó Command-click now </span><span class="style4">also</span><span class="style1"> unlocks the text
  27086. ΓÇó Insertion caret placed in text as soon as unlocked, no more second click 
  27087.    needed
  27088. ΓÇó Scrolls are now hidden for non-floating backmost windows
  27089. ΓÇó ForeColor property renamed TextColor
  27090. ΓÇó ClicInText message renamed Clic</span><span class="style4">k</span><span class="style1">InText
  27091. ΓÇó selectedText property renamed selectedChunk
  27092. ΓÇó Added selectedText property to get selection's text
  27093. ΓÇó Added style shortcuts (Ctrl-Option P, B, I, U, O, S, C, E)
  27094. ΓÇó Added Alignment items in style menu
  27095. ΓÇó Text Color is passed along with ClicInText message, as well as different 
  27096.    text attributes if there are.
  27097. ΓÇó Default scroll is now fast, slow optional
  27098. ΓÇó Fixed Font and Style menu handling bug
  27099. ΓÇó Window rect calculation tuned to match field rect calculation
  27100. ΓÇó Fixed scroll bar update when end of text is deleted
  27101. ΓÇó Fixed wrapping when text changed from an existing field
  27102. ΓÇó Fixed non-floating window re-activation
  27103. </span><span class="style3">
  27104. 2.2 :
  27105. </span><span class="style1">ΓÇó Text Font, Size and Style are passed along with ClicInText message.</span><span class="style3">
  27106.  
  27107. 2.1 :
  27108. </span><span class="style1">ΓÇó Clicked word font, size and style are now passed along with clicInText
  27109.  
  27110. </span><span class="style3">2.1 :
  27111. </span><span class="style1">ΓÇó Textoid supports now full styled text !
  27112. ΓÇó Added fieldTransfer, textWidth and textWrap properties
  27113. ΓÇó Added fore and background color menu items
  27114. ΓÇó Fixed unwanted autoscroll with HyperText
  27115. ΓÇó Wrap property not changed anymore when resizing window
  27116. ΓÇó Default text width is now 3000 for non-wrapping text
  27117. ΓÇó Clipboard is correctly transfered while switching
  27118. ΓÇó Fixed last null char of text bug
  27119. </span><span class="style3">
  27120. 2.0 :
  27121. ΓÇó </span><span class="style1">enhanced window show/hide handling while switching under MultiFinder
  27122. ΓÇó selection restored when activating non-floating windows
  27123. ΓÇó text font, size and style can now be set using menus
  27124. ΓÇó window ordering now correct when zooming in/out
  27125. ΓÇó fixed random bug coming from bad controlHandle
  27126. ΓÇó window clipboard now transferred only if not empty
  27127. ΓÇó fixed hypertext bug when clicking on last word
  27128. ΓÇó idle sent to card window even while editing windoid's text
  27129. ΓÇó added start and stop char passed along with ClicInText message
  27130.  
  27131. </span><span class="style3">1.9</span><span class="style1"> :
  27132. ΓÇó changed inContent cursor
  27133.  
  27134. </span><span class="style3">1.8</span><span class="style1"> :
  27135. ΓÇó Added window style parameter
  27136. ΓÇó Added "openTextoid" message
  27137. ΓÇó Fixed rect/globalRect property to not show window if invisible
  27138. ΓÇó Added support of Rinaldoid WDEF and CDEF
  27139.  
  27140. </span><span class="style3">1.6</span><span class="style1"> :
  27141. ΓÇó Window title is displayed
  27142. ΓÇó All RBG values available for color
  27143. ΓÇó Added "closeTextoid" message when closing window
  27144. ΓÇó Fixed minor bugs
  27145. ΓÇó Added "selectedText" property
  27146. ΓÇó Added command-A shortcut
  27147.  
  27148. </span><span class="style3">1.5</span><span class="style1"> :
  27149. ΓÇó full text editing added.
  27150.  
  27151. </span><span class="style3">1.4</span><span class="style1"> : 
  27152. ΓÇó┬áfixed a bug arising on CPUs with no Color QuickDraw
  27153.  
  27154. </span><span class="style3">1.3</span><span class="style1"> :
  27155. ΓÇó Added color support
  27156.  
  27157. </span><span class="style3">1.2</span><span class="style1"> :
  27158. ΓÇó fixed word hilighting with wrapping word
  27159.  
  27160. </span><span class="style3">1.1</span><span class="style1"> :
  27161. ΓÇó fixed visual minor bugs (color GrowBox, multi-screen grow frame)
  27162. ΓÇó added hyperText capabilities
  27163. ΓÇó added properties : globalLoc,globalRect,textAlign,textStyle,hScroll,
  27164.    vScroll,zoom
  27165.  
  27166.   This stack also uses Switch & FullHpop XFCNs, ┬⌐ Fr├⌐d├⌐ric RINALDI.
  27167. </span></text>
  27168.     </content>
  27169.     <content>
  27170.         <layer>card</layer>
  27171.         <id>21</id>
  27172.         <text>
  27173. Message
  27174. Message Watcher
  27175. Variable Watcher
  27176. Scroll
  27177. FatBits
  27178. Patterns
  27179. Tools
  27180. Textoid 3.6 (US)
  27181. X-Archive
  27182. Home
  27183.  
  27184. </text>
  27185.     </content>
  27186.     <content>
  27187.         <layer>card</layer>
  27188.         <id>24</id>
  27189.         <text>id
  27190. messages
  27191. loc,To…
  27192. globalLoc,To…
  27193. visible,True,False
  27194. text,To…
  27195. viewChunk,To…
  27196. selectedChunk,To…
  27197. selectedText,To…
  27198. rect,To…
  27199. globalRect,To…
  27200. lockText,True,False
  27201. textAlign,Left,Right,Center
  27202. TextFont,Avant Garde,Bookman,Chicago,Courier,Geneva,Helvetica,Monaco,MT Extra,N Helvetica Narrow,New Century Schlbk,New York,Palatino,PalPhon,PalPiRoman,Symbol,Times,TTYFont,VT100,Zapf Chancery,Zapf Dingbats,
  27203. textSize,9,10,12,14,18,24,Other…
  27204. textStyle,Plain,Bold,Italic,Underline,Outline,Shadow,Condense,Extend,Group
  27205. textColor,To…
  27206. backColor,To…
  27207. hScroll,To…
  27208. vScroll,To…
  27209. zoom,In,Out
  27210. textWrap,True,False
  27211. textWidth,To…
  27212. fieldTransfer,To…
  27213. GrowAllowed,True,False
  27214. MoveAllowed,True,False
  27215. UnLockAllowed,True,False
  27216. ShowVScroll,True,False
  27217. ShowHScroll,True,False</text>
  27218.     </content>
  27219.     <name></name>
  27220.     <script>on ClickInText What,Where,WindID,Start,Stop,Font,Size,Style,Color
  27221. answer "Word :" && What & return & "Window name :" && Where & return ┬¼
  27222. & "Window ID :" && WindID & return & "Start :" && Start & return & ┬¼
  27223. "Stop :" && Stop & return & "Font :" && Font & return & "Size :" && ┬¼
  27224. Size & return & "Style :" && Style & return & "Color :" && Color
  27225. end ClickInText
  27226.  
  27227. on closeTextoid What
  27228. put "You closed window ΓÇ£" & What & "ΓÇ¥"
  27229. end closeTextoid
  27230.  
  27231. on openTextoid WName,WId
  27232. if WName is "Test3"
  27233. then set ShowVScroll of window WName to false
  27234. end openTextoid
  27235. </script>
  27236. </card>
  27237.  
  27238.  
  27239. card_52366.xml
  27240. <?xml version="1.0" encoding="utf-8" ?>
  27241. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  27242. <card>
  27243.     <id>52366</id>
  27244.     <filler1>0</filler1>
  27245.     <bitmap>BMAP_4793.pbm</bitmap>
  27246.     <cantDelete> <false /> </cantDelete>
  27247.     <showPict> <true /> </showPict>
  27248.     <dontSearch> <false /> </dontSearch>
  27249.     <owner>46925</owner>
  27250.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  27251.     <part>
  27252.         <id>1</id>
  27253.         <type>field</type>
  27254.         <visible> <true /> </visible>
  27255.         <dontWrap> <false /> </dontWrap>
  27256.         <dontSearch> <false /> </dontSearch>
  27257.         <sharedText> <false /> </sharedText>
  27258.         <fixedLineHeight> <true /> </fixedLineHeight>
  27259.         <autoTab> <false /> </autoTab>
  27260.         <lockText> <false /> </lockText>
  27261.         <rect>
  27262.             <left>69</left>
  27263.             <top>68</top>
  27264.             <right>434</right>
  27265.             <bottom>252</bottom>
  27266.         </rect>
  27267.         <style>scrolling</style>
  27268.         <autoSelect> <false /> </autoSelect>
  27269.         <showLines> <false /> </showLines>
  27270.         <wideMargins> <false /> </wideMargins>
  27271.         <multipleLines> <false /> </multipleLines>
  27272.         <reservedFamily> 0 </reservedFamily>
  27273.         <titleWidth>0</titleWidth>
  27274.         <icon>0</icon>
  27275.         <textAlign>left</textAlign>
  27276.         <font>Geneva</font>
  27277.         <textSize>9</textSize>
  27278.         <textStyle>plain</textStyle>
  27279.         <textHeight>12</textHeight>
  27280.         <name></name>
  27281.         <script></script>
  27282.     </part>
  27283.     <part>
  27284.         <id>5</id>
  27285.         <type>button</type>
  27286.         <visible> <true /> </visible>
  27287.         <reserved5> 0 </reserved5>
  27288.         <reserved4> 0 </reserved4>
  27289.         <reserved3> 0 </reserved3>
  27290.         <reserved2> 0 </reserved2>
  27291.         <reserved1> 0 </reserved1>
  27292.         <enabled> <true /> </enabled>
  27293.         <rect>
  27294.             <left>174</left>
  27295.             <top>281</top>
  27296.             <right>343</right>
  27297.             <bottom>311</bottom>
  27298.         </rect>
  27299.         <style>roundrect</style>
  27300.         <showName> <true /> </showName>
  27301.         <highlight> <false /> </highlight>
  27302.         <autoHighlight> <true /> </autoHighlight>
  27303.         <sharedHighlight> <true /> </sharedHighlight>
  27304.         <family>0</family>
  27305.         <titleWidth>0</titleWidth>
  27306.         <icon>0</icon>
  27307.         <textAlign>center</textAlign>
  27308.         <font>Geneva</font>
  27309.         <textSize>12</textSize>
  27310.         <textStyle>plain</textStyle>
  27311.         <name>TextRes</name>
  27312.         <script>on mouseUp
  27313. ask "Resource text :" with "This is a sample text"
  27314. if it is empty then exit mouseUp
  27315. put it into Text
  27316.  
  27317. ask "Resource type :" with "TEXT"
  27318. if it is empty then exit mouseUp
  27319. put it into Type
  27320.  
  27321. answer "Add resource in :" with "Cancel" or "Other file" or┬¼
  27322. "This stack"
  27323. if it is "Cancel" then exit mouseUp
  27324.  
  27325. if it is "Other file"
  27326. then
  27327. if last word of the version ΓëÑ 2.0
  27328. then answer file "Destination file :"
  27329. else ask "Destination file :"
  27330. if it is empty then exit mouseUp
  27331.  
  27332. TextRes Text,Type,it
  27333. else TextRes Text,Type
  27334.  
  27335. if first word of the Result is "Error"
  27336. then answer the result
  27337. else answer "Created resource : " & the Result
  27338. end mouseUp</script>
  27339.     </part>
  27340.     <content>
  27341.         <layer>card</layer>
  27342.         <id>1</id>
  27343.         <text>
  27344.  
  27345.                                              TextRes 1.3
  27346.  
  27347.                                        by Fr├⌐d├⌐ric RINALDI
  27348.  
  27349.  
  27350. DESCRIPTION
  27351. ------------
  27352.   TextRes allows to create any kind of text resource (STR, STR#, TEXT, etc) in a file.
  27353.  
  27354. SYNTAX
  27355. -------
  27356.                TextRes <text>,<res type>[,<res ID>][,<res name>]
  27357.                              [,<fileName>][,<sep.char>]
  27358.  
  27359. PARAMETERS
  27360. ------------
  27361.    <text> is the text that will be written as resource in the file.
  27362.  
  27363.    <res type> is a four chars string, case sensitive, giving the resource type.
  27364.  
  27365.    <res ID> is an integer. If not supplied, any free ID will be used.
  27366.  
  27367.    <res name> defines the name of the created resource.
  27368.  
  27369.    <fileName> is the pathname of the destination file. Default is current resource file.
  27370.  
  27371.    <sep.char> is useful only with STR# resource creation, and allows to define the entries separator. Default is return.
  27372.  
  27373.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  27374.  
  27375. USING
  27376. -----
  27377.    If the supplied file name doesn't exist, it is created by the XCMD.
  27378.    Any previous resource with same ID is simply replaced by the new one  in the file.
  27379.    The XCMD returns <ID[,name]> of the new resource in the result.
  27380.  
  27381. ERRORS
  27382. -------
  27383. If an error occurs, TextRes can return :
  27384.      "Error : Missing or empty parameter(s)"
  27385.      "Error : Bad resource type"
  27386.      "Error : Out of memory"
  27387.      "Error : Couldn't create resource"
  27388.      "Error : Not a file"
  27389.      "Error : Alias file not supported"
  27390.      "Error : Volume not found"
  27391.      "Error : Bad Name"
  27392.      "Error : Folder not found"
  27393.      "Error : File is busy"
  27394.      "Error : I/O Error"
  27395.      "Error : Folder is full"
  27396.      "Error : Volume is locked"
  27397.      "Error : AppleShare insufficient privileges"
  27398.  
  27399. HISTORY
  27400. --------
  27401. 1.3 :                                                                                          03/09/92
  27402. ΓÇó Write allowed in an already opened resource file
  27403.  
  27404. 1.2 :                                                                                          03/07/92
  27405. ΓÇó Fixed parameters parsing
  27406.  
  27407. 1.1 :                                                                                          02/23/92
  27408. ΓÇó First release
  27409. </text>
  27410.     </content>
  27411.     <name></name>
  27412.     <script></script>
  27413. </card>
  27414.  
  27415.  
  27416. card_45655.xml
  27417. <?xml version="1.0" encoding="utf-8" ?>
  27418. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  27419. <card>
  27420.     <id>45655</id>
  27421.     <filler1>0</filler1>
  27422.     <bitmap>BMAP_4174.pbm</bitmap>
  27423.     <cantDelete> <false /> </cantDelete>
  27424.     <showPict> <true /> </showPict>
  27425.     <dontSearch> <false /> </dontSearch>
  27426.     <owner>46925</owner>
  27427.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  27428.     <part>
  27429.         <id>1</id>
  27430.         <type>field</type>
  27431.         <visible> <true /> </visible>
  27432.         <dontWrap> <false /> </dontWrap>
  27433.         <dontSearch> <false /> </dontSearch>
  27434.         <sharedText> <false /> </sharedText>
  27435.         <fixedLineHeight> <true /> </fixedLineHeight>
  27436.         <autoTab> <false /> </autoTab>
  27437.         <lockText> <true /> </lockText>
  27438.         <rect>
  27439.             <left>69</left>
  27440.             <top>68</top>
  27441.             <right>434</right>
  27442.             <bottom>252</bottom>
  27443.         </rect>
  27444.         <style>scrolling</style>
  27445.         <autoSelect> <false /> </autoSelect>
  27446.         <showLines> <false /> </showLines>
  27447.         <wideMargins> <false /> </wideMargins>
  27448.         <multipleLines> <false /> </multipleLines>
  27449.         <reservedFamily> 0 </reservedFamily>
  27450.         <titleWidth>0</titleWidth>
  27451.         <icon>0</icon>
  27452.         <textAlign>left</textAlign>
  27453.         <font>Geneva</font>
  27454.         <textSize>9</textSize>
  27455.         <textStyle>plain</textStyle>
  27456.         <textHeight>12</textHeight>
  27457.         <name></name>
  27458.         <script></script>
  27459.     </part>
  27460.     <part>
  27461.         <id>5</id>
  27462.         <type>button</type>
  27463.         <visible> <true /> </visible>
  27464.         <reserved5> 0 </reserved5>
  27465.         <reserved4> 0 </reserved4>
  27466.         <reserved3> 0 </reserved3>
  27467.         <reserved2> 0 </reserved2>
  27468.         <reserved1> 0 </reserved1>
  27469.         <enabled> <true /> </enabled>
  27470.         <rect>
  27471.             <left>174</left>
  27472.             <top>281</top>
  27473.             <right>343</right>
  27474.             <bottom>311</bottom>
  27475.         </rect>
  27476.         <style>roundrect</style>
  27477.         <showName> <true /> </showName>
  27478.         <highlight> <false /> </highlight>
  27479.         <autoHighlight> <true /> </autoHighlight>
  27480.         <sharedHighlight> <true /> </sharedHighlight>
  27481.         <family>0</family>
  27482.         <titleWidth>0</titleWidth>
  27483.         <icon>0</icon>
  27484.         <textAlign>center</textAlign>
  27485.         <font>Geneva</font>
  27486.         <textSize>12</textSize>
  27487.         <textStyle>plain</textStyle>
  27488.         <name>WindName</name>
  27489.         <script>on mouseUp
  27490. ask "New window title :"
  27491. WindName it
  27492. end mouseUp
  27493. </script>
  27494.     </part>
  27495.     <content>
  27496.         <layer>card</layer>
  27497.         <id>1</id>
  27498.         <text>
  27499.  
  27500.                                                WindName 1.1
  27501.  
  27502.                                           by Fr├⌐d├⌐ric RINALDI
  27503.  
  27504.  
  27505. DESCRIPTION
  27506. ------------
  27507.   WindName XCMD is a XCMD allowing to change the title of HyperCard's window.
  27508.  
  27509.  
  27510. SYNTAX
  27511. --------
  27512.                                     WindName <title string>
  27513.  
  27514. PARAMETERS
  27515. ------------
  27516.    Title string is the new name to use for the window.
  27517.   
  27518. </text>
  27519.     </content>
  27520.     <name>WindName 1.1</name>
  27521.     <script>
  27522.  
  27523.  
  27524.  
  27525. on opencard
  27526. end opencard
  27527.  
  27528. on closeCard
  27529. end closeCard
  27530.  
  27531. </script>
  27532. </card>
  27533.  
  27534.  
  27535. card_52820.xml
  27536. <?xml version="1.0" encoding="utf-8" ?>
  27537. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  27538. <card>
  27539.     <id>52820</id>
  27540.     <filler1>0</filler1>
  27541.     <bitmap>BMAP_4593.pbm</bitmap>
  27542.     <cantDelete> <false /> </cantDelete>
  27543.     <showPict> <true /> </showPict>
  27544.     <dontSearch> <false /> </dontSearch>
  27545.     <owner>46925</owner>
  27546.     <link rel="stylesheet" type="text/css" href="stylesheet_3275.css" />
  27547.     <part>
  27548.         <id>1</id>
  27549.         <type>field</type>
  27550.         <visible> <true /> </visible>
  27551.         <dontWrap> <false /> </dontWrap>
  27552.         <dontSearch> <false /> </dontSearch>
  27553.         <sharedText> <false /> </sharedText>
  27554.         <fixedLineHeight> <true /> </fixedLineHeight>
  27555.         <autoTab> <false /> </autoTab>
  27556.         <lockText> <true /> </lockText>
  27557.         <rect>
  27558.             <left>69</left>
  27559.             <top>68</top>
  27560.             <right>434</right>
  27561.             <bottom>252</bottom>
  27562.         </rect>
  27563.         <style>scrolling</style>
  27564.         <autoSelect> <false /> </autoSelect>
  27565.         <showLines> <false /> </showLines>
  27566.         <wideMargins> <false /> </wideMargins>
  27567.         <multipleLines> <false /> </multipleLines>
  27568.         <reservedFamily> 0 </reservedFamily>
  27569.         <titleWidth>0</titleWidth>
  27570.         <icon>0</icon>
  27571.         <textAlign>left</textAlign>
  27572.         <font>Geneva</font>
  27573.         <textSize>9</textSize>
  27574.         <textStyle>plain</textStyle>
  27575.         <textHeight>12</textHeight>
  27576.         <name>Text</name>
  27577.         <script></script>
  27578.     </part>
  27579.     <part>
  27580.         <id>2</id>
  27581.         <type>button</type>
  27582.         <visible> <true /> </visible>
  27583.         <reserved5> 0 </reserved5>
  27584.         <reserved4> 0 </reserved4>
  27585.         <reserved3> 0 </reserved3>
  27586.         <reserved2> 0 </reserved2>
  27587.         <reserved1> 0 </reserved1>
  27588.         <enabled> <true /> </enabled>
  27589.         <rect>
  27590.             <left>174</left>
  27591.             <top>281</top>
  27592.             <right>343</right>
  27593.             <bottom>311</bottom>
  27594.         </rect>
  27595.         <style>roundrect</style>
  27596.         <showName> <true /> </showName>
  27597.         <highlight> <false /> </highlight>
  27598.         <autoHighlight> <true /> </autoHighlight>
  27599.         <sharedHighlight> <true /> </sharedHighlight>
  27600.         <family>0</family>
  27601.         <titleWidth>0</titleWidth>
  27602.         <icon>0</icon>
  27603.         <textAlign>center</textAlign>
  27604.         <font>Geneva</font>
  27605.         <textSize>12</textSize>
  27606.         <textStyle>plain</textStyle>
  27607.         <name>XRef</name>
  27608.         <script>on mouseUp
  27609. answer "List what :" with "Handler" or "Variables" or "Xternals"
  27610. put it into ListWhat
  27611. answer "List all :" with "Annuler" or "False" or "True"
  27612. if it is "Annuler" then exit mouseUp
  27613. put it into ListAll
  27614. answer "List numbers :" with "Annuler" or "False" or "True"
  27615. if it is "Annuler" then exit mouseUp
  27616. put it into ListNb
  27617.  
  27618. set cursor to watch
  27619. put XRef(script of this stack,ListWhat,ListAll,ListNb) into cd fld 2
  27620. show cd fld 2
  27621. end mouseUp
  27622. </script>
  27623.     </part>
  27624.     <part>
  27625.         <id>3</id>
  27626.         <type>field</type>
  27627.         <visible> <false /> </visible>
  27628.         <dontWrap> <false /> </dontWrap>
  27629.         <dontSearch> <false /> </dontSearch>
  27630.         <sharedText> <false /> </sharedText>
  27631.         <fixedLineHeight> <true /> </fixedLineHeight>
  27632.         <autoTab> <false /> </autoTab>
  27633.         <lockText> <true /> </lockText>
  27634.         <rect>
  27635.             <left>69</left>
  27636.             <top>68</top>
  27637.             <right>434</right>
  27638.             <bottom>252</bottom>
  27639.         </rect>
  27640.         <style>scrolling</style>
  27641.         <autoSelect> <false /> </autoSelect>
  27642.         <showLines> <false /> </showLines>
  27643.         <wideMargins> <false /> </wideMargins>
  27644.         <multipleLines> <false /> </multipleLines>
  27645.         <reservedFamily> 0 </reservedFamily>
  27646.         <titleWidth>0</titleWidth>
  27647.         <icon>0</icon>
  27648.         <textAlign>left</textAlign>
  27649.         <font>Geneva</font>
  27650.         <textSize>9</textSize>
  27651.         <textStyle>plain</textStyle>
  27652.         <textHeight>12</textHeight>
  27653.         <name></name>
  27654.         <script>on mouseUp
  27655. hide me
  27656. put empty into me
  27657. end mouseUp</script>
  27658.     </part>
  27659.     <content>
  27660.         <layer>card</layer>
  27661.         <id>1</id>
  27662.         <text>
  27663.  
  27664.                                                   XRef 1.3
  27665.  
  27666.                                           by Fr├⌐d├⌐ric RINALDI
  27667.  
  27668.  
  27669. DESCRIPTION
  27670. ------------
  27671.   XRef is a tool for cross-referencing handlers, variables and externals in an HC script.
  27672.  
  27673.  
  27674. SYNTAX
  27675. --------
  27676.                   XRef(<script>[,<H[andlers]|V[ariables]|X[ternals]>
  27677.                           [,<ListAll>[,<ListNb>]]])
  27678.  
  27679.  
  27680. PARAMETERS
  27681. ------------
  27682.    <script> is the script text to explore
  27683.  
  27684.    <H[andlers]|V[ariables]|X[ternals]> defines the desired X-Ref mode: by handlers, by variables or by externals.
  27685.  
  27686.    <ListAll> is a boolean. When TRUE, all subitems are listed for each found entry. Default is FALSE.
  27687.  
  27688.    <ListNb> is a boolean, used only if <ListAll> = TRUE. When TRUE, all line numbers are listed along with each subitem. Default is FALSE.
  27689.  
  27690.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  27691.  
  27692.  
  27693. USING
  27694. -----
  27695.    The XFCN returns a list of found entries, depending of the choosen X-Ref mode. Each entry is followed by its type, which can be [HN] (handler), [LV] (local variable, [GV] (global variable), [XC] (external command) or [XF] (external function).
  27696.  
  27697.    Mode=H, ListAll=FALSE, ListNb=FALSE
  27698.    <handler 1>
  27699.    ΓǪ
  27700.    <handler N>
  27701.  
  27702.    Mode=H, ListAll=TRUE, ListNb=FALSE
  27703.    <handler 1>
  27704.    <var/xter 1>[ΓǪ,<var/xter N>]
  27705.  
  27706.    ΓǪ
  27707.    <handler N>
  27708.    <var/xter 1>[ΓǪ,<var/xter N>]
  27709.  
  27710.    Mode=H, ListAll=TRUE, ListNb=TRUE
  27711.    <handler 1>
  27712.    <var/xter 1>: <line 1>[,<line N>]
  27713.    ΓǪ
  27714.    <var/xter N>: <line 1>[,<line N>]
  27715.  
  27716.    ΓǪ
  27717.    <handler N>
  27718.    <var/xter 1>: <line 1>[,<line N>]
  27719.    ΓǪ
  27720.    <var/xter N>: <line 1>[,<line N>]
  27721.  
  27722.  
  27723.    Mode=V, ListAll=FALSE, ListNb=FALSE
  27724.    <variable 1>
  27725.    ΓǪ
  27726.    <variable N>
  27727.  
  27728.    Mode=V, ListAll=TRUE, ListNb=FALSE
  27729.    <variable 1>
  27730.    <handler 1>[ΓǪ,<handler N>]
  27731.  
  27732.    ΓǪ
  27733.    <variable N>
  27734.    <handler 1>[ΓǪ,<handler N>]
  27735.  
  27736.    Mode=V, ListAll=TRUE, ListNb=TRUE
  27737.    <variable 1>
  27738.    <handler 1>: <line 1>[,<line N>]
  27739.    ΓǪ
  27740.    <handler N>: <line 1>[,<line N>]
  27741.  
  27742.    ΓǪ
  27743.    <variable N>
  27744.    <handler 1>: <line 1>[,<line N>]
  27745.    ΓǪ
  27746.    <handler N>: <line 1>[,<line N>]
  27747.  
  27748.  
  27749.    Mode=X, ListAll=FALSE, ListNb=FALSE
  27750.    <external 1>
  27751.    ΓǪ
  27752.    <external N>
  27753.  
  27754.    Mode=X, ListAll=TRUE, ListNb=FALSE
  27755.    <external 1>
  27756.    <handler 1>[ΓǪ,<handler N>]
  27757.  
  27758.    ΓǪ
  27759.    <external N>
  27760.    <handler 1>[ΓǪ,<handler N>]
  27761.  
  27762.    Mode=X, ListAll=TRUE, ListNb=TRUE
  27763.    <external 1>
  27764.    <handler 1>: <line 1>[,<line N>]
  27765.    ΓǪ
  27766.    <handler N>: <line 1>[,<line N>]
  27767.  
  27768.    ΓǪ
  27769.    <external N>
  27770.    <handler 1>: <line 1>[,<line N>]
  27771.    ΓǪ
  27772.    <handler N>: <line 1>[,<line N>]
  27773.  
  27774.  
  27775. ERRORS
  27776. -------
  27777. If an error occurs, XRef can return :
  27778.      "Error : Out of memory"
  27779.      "Error : Missing or empty script parameter"
  27780.      "Error : Second param must begin with [H,V,X]"
  27781.      "Error : Third param must be boolean"
  27782.      "Error : Fourth param must be boolean"
  27783.      "Error : Couldn't get WTLK resource"
  27784.  
  27785. HISTORY
  27786. --------
  27787. 1.3 :                                                                                          07/20/92
  27788. ΓÇó Fixed WTLK access for HC 1.2
  27789. ΓÇó Fixed empty string result
  27790.  
  27791. 1.2 :                                                                                          03/23/92
  27792. ΓÇó┬áFirst release
  27793. </text>
  27794.     </content>
  27795.     <name></name>
  27796.     <script></script>
  27797. </card>
  27798.  
  27799.  
  27800.